Skip to content

Commit 788df09

Browse files
committed
Use shrinked output built into the test harness.
servo/rustc-test@e3a9adc Also proposed upstream at rust-lang/rust#31887
1 parent 40d49d5 commit 788df09

File tree

3 files changed

+5
-45
lines changed

3 files changed

+5
-45
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ heapsize_plugin = { version = "0.1.0", optional = true }
4343

4444
[dev-dependencies]
4545
rustc-serialize = "0.3.15"
46-
rustc-test = "0.1"
46+
rustc-test = "0.1.3"
4747

4848
[build-dependencies]
4949
phf_codegen = "0.7.3"

scripts/shrink-test-output.py

-40
This file was deleted.

scripts/travis-build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
set -ex
1212

13-
./scripts/shrink-test-output.py cargo test --color always
14-
1513
if [ $TRAVIS_RUST_VERSION = nightly ]
1614
then
17-
./scripts/shrink-test-output.py cargo test --color always --features unstable
18-
15+
cargo test --features "rustc-test/capture"
16+
cargo test --features "rustc-test/capture unstable"
1917
cargo test --manifest-path capi/Cargo.toml
18+
else
19+
cargo test
2020
fi
2121

2222
cargo doc

0 commit comments

Comments
 (0)