Skip to content

Commit 8d44c79

Browse files
committed
---
yaml --- r: 81283 b: refs/heads/snap-stage3 c: 1dbc467 h: refs/heads/master i: 81281: 04a5406 81279: f0cc84b v: v3
1 parent 31c2a77 commit 8d44c79

File tree

13 files changed

+34
-6
lines changed

13 files changed

+34
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: ab0a884a7373145222dfbadc8ec741f767cc45d1
4+
refs/heads/snap-stage3: 1dbc467fd957a0daf3fd935ccce0fc9ea5d1dcd8
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/mk/tests.mk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,15 @@ tidy:
261261
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
262262
$(Q)echo $(ALL_HS) \
263263
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
264+
$(Q)find $(S)src -type f -perm +111 \
265+
-not -name '*.rs' -and -not -name '*.py' \
266+
-and -not -name '*.sh' \
267+
| grep '^$(S)src/llvm' -v \
268+
| grep '^$(S)src/libuv' -v \
269+
| grep '^$(S)src/gyp' -v \
270+
| grep '^$(S)src/etc' -v \
271+
| grep '^$(S)src/rt/jemalloc' -v \
272+
| xargs $(CFG_PYTHON) $(S)src/etc/check-binaries.py
264273

265274
endif
266275

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2+
# file at the top-level directory of this distribution and at
3+
# http://rust-lang.org/COPYRIGHT.
4+
#
5+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
# option. This file may not be copied, modified, or distributed
9+
# except according to those terms.
10+
11+
import sys
12+
13+
offenders = sys.argv[1:]
14+
if len(offenders) > 0:
15+
print("Binaries checked into src:")
16+
for offender in offenders:
17+
print(offender)
18+
sys.exit(1)

branches/snap-stage3/src/librustpkg/tests.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,9 +1812,11 @@ fn test_rustpkg_test_output() {
18121812
let workspace = create_local_package_with_test(&PkgId::new("foo"));
18131813
let output = command_line_test([~"test", ~"foo"], &workspace);
18141814
let output_str = str::from_utf8(output.output);
1815-
assert!(output_str.contains("test f ... ok"));
1816-
assert!(output_str.contains(
1817-
"test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured"));
1815+
// The first two assertions are separate because test output may
1816+
// contain color codes, which could appear between "test f" and "ok".
1817+
assert!(output_str.contains("test f"));
1818+
assert!(output_str.contains("ok"));
1819+
assert!(output_str.contains("1 passed; 0 failed; 0 ignored; 0 measured"));
18181820
}
18191821
18201822
#[test]
-8.04 MB
Binary file not shown.

branches/snap-stage3/src/rt/sundown/html/html.c

100755100644
File mode changed.
Binary file not shown.
Binary file not shown.
-9.54 KB
Binary file not shown.
-14.4 KB
Binary file not shown.
-9.53 KB
Binary file not shown.
-93.8 KB
Binary file not shown.

branches/snap-stage3/src/test/run-pass/unit-like-struct-drop-run.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
// Make sure the destructor is run for unit-like structs.
12-
// xfail-fast
1312

1413
use std::task;
1514

@@ -21,7 +20,7 @@ impl Drop for Foo {
2120
}
2221
}
2322

24-
fn main() {
23+
pub fn main() {
2524
let x = do task::try {
2625
let _b = Foo;
2726
};

0 commit comments

Comments
 (0)