Skip to content

Commit

Permalink
Merge #645
Browse files Browse the repository at this point in the history
645: Use single threads for testing r=asomers

I actually couldn't find a reference to CARGO_TEST_THREADS in the
current cargo codebase, but RUST_TEST_THREADS is definitely correct.
This should reduce some spurious failures on some platforms.
  • Loading branch information
bors[bot] committed Jul 3, 2017
2 parents 1bd18d5 + d2508e3 commit baba879
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sudo: required
env:
global:
- CRATE_NAME=nix
- CARGO_TEST_THREADS=1
- RUST_TEST_THREADS=1

matrix:
# These are all the build jobs. Adjust as necessary. Comment out what you
Expand Down
2 changes: 2 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build.env]
passthrough = ["RUST_TEST_THREADS"]

0 comments on commit baba879

Please sign in to comment.