Skip to content

Commit

Permalink
Use shrinked output built into the test harness.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Mar 24, 2016
1 parent 080cf91 commit 65bf1b5
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 65bf1b5

Please sign in to comment.