Skip to content

Commit b38a119

Browse files
author
bors-servo
committed
Auto merge of #200 - servo:shrink, r=nox
Use shrinked output built into the test harness. servo/rustc-test@e3a9adc Also proposed upstream at rust-lang/rust#31887 r? @nox <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/200) <!-- Reviewable:end -->
2 parents 080cf91 + 65bf1b5 commit b38a119

File tree

3 files changed

+5
-44
lines changed

3 files changed

+5
-44
lines changed

Cargo.toml

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

4848
[dev-dependencies]
4949
rustc-serialize = "0.3.15"
50-
rustc-test = "0.1"
50+
rustc-test = "0.1.3"
5151

5252
[build-dependencies]
5353
phf_codegen = "0.7.3"

scripts/shrink-test-output.py

-40
This file was deleted.

scripts/travis-build.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
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
15+
cargo test --features "rustc-test/capture"
16+
cargo test --features "rustc-test/capture unstable"
17+
else
18+
cargo test
1819
fi
1920

2021
cargo doc

0 commit comments

Comments
 (0)