Skip to content

Commit

Permalink
Auto merge of #200 - servo:shrink, r=nox
Browse files Browse the repository at this point in the history
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 -->
  • Loading branch information
bors-servo committed Mar 24, 2016
2 parents 080cf91 + 65bf1b5 commit b38a119
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 44 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ heapsize_plugin = { version = "0.1.0", optional = true }

[dev-dependencies]
rustc-serialize = "0.3.15"
rustc-test = "0.1"
rustc-test = "0.1.3"

[build-dependencies]
phf_codegen = "0.7.3"
Expand Down
40 changes: 0 additions & 40 deletions scripts/shrink-test-output.py

This file was deleted.

7 changes: 4 additions & 3 deletions scripts/travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@

set -ex

./scripts/shrink-test-output.py cargo test --color always

if [ $TRAVIS_RUST_VERSION = nightly ]
then
./scripts/shrink-test-output.py cargo test --color always --features unstable
cargo test --features "rustc-test/capture"
cargo test --features "rustc-test/capture unstable"
else
cargo test
fi

cargo doc

0 comments on commit b38a119

Please sign in to comment.