Skip to content

Commit 52b6a53

Browse files
committed
---
yaml --- r: 82799 b: refs/heads/auto c: 1dbc467 h: refs/heads/master i: 82797: ee2afd7 82795: 8ba0d97 82791: 79dece1 82783: 4db01c0 v: v3
1 parent 15cdce6 commit 52b6a53

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
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: ab0a884a7373145222dfbadc8ec741f767cc45d1
16+
refs/heads/auto: 1dbc467fd957a0daf3fd935ccce0fc9ea5d1dcd8
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/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/auto/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]

branches/auto/src/libsyntax/syntax

-8.04 MB
Binary file not shown.

branches/auto/src/rt/sundown/html/html.c

100755100644
File mode changed.
-14.7 KB
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/auto/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)