Skip to content

Commit 29ae59f

Browse files
committed
---
yaml --- r: 95065 b: refs/heads/dist-snap c: 1dbc467 h: refs/heads/master i: 95063: d5039a7 v: v3
1 parent efba15d commit 29ae59f

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
@@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: ab0a884a7373145222dfbadc8ec741f767cc45d1
9+
refs/heads/dist-snap: 1dbc467fd957a0daf3fd935ccce0fc9ea5d1dcd8
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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/dist-snap/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/dist-snap/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/dist-snap/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)