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 Feb 25, 2016
1 parent 40d49d5 commit f33b6a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 45 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ harness = false
name = "serializer"

[features]
unstable = ["tendril/unstable", "string_cache/unstable"]
unstable = ["tendril/unstable", "string_cache/unstable", "rustc-test/capture"]
heap_size = ["heapsize", "heapsize_plugin"]
codegen = ["html5ever_macros"]

Expand All @@ -43,7 +43,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.

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

set -ex

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

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

cargo test --features unstable
cargo test --manifest-path capi/Cargo.toml
fi

Expand Down

0 comments on commit f33b6a8

Please sign in to comment.