Skip to content

Commit f33b6a8

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 f33b6a8

File tree

3 files changed

+4
-45
lines changed

3 files changed

+4
-45
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ harness = false
2727
name = "serializer"
2828

2929
[features]
30-
unstable = ["tendril/unstable", "string_cache/unstable"]
30+
unstable = ["tendril/unstable", "string_cache/unstable", "rustc-test/capture"]
3131
heap_size = ["heapsize", "heapsize_plugin"]
3232
codegen = ["html5ever_macros"]
3333

@@ -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

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010

1111
set -ex
1212

13-
./scripts/shrink-test-output.py cargo test --color always
13+
cargo test
1414

1515
if [ $TRAVIS_RUST_VERSION = nightly ]
1616
then
17-
./scripts/shrink-test-output.py cargo test --color always --features unstable
18-
17+
cargo test --features unstable
1918
cargo test --manifest-path capi/Cargo.toml
2019
fi
2120

0 commit comments

Comments
 (0)