Skip to content

Commit

Permalink
Run rust tests sequentially.
Browse files Browse the repository at this point in the history
Working around a bug that I think has been here a while, but
is somehow made more promentent with #782.
  • Loading branch information
ry committed Sep 25, 2018
1 parent 98bf90f commit 255790c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ def main(argv):
check_exists(test_cc)
run([test_cc])

test_rs = os.path.join(build_dir, "test_rs" + executable_suffix)
test_rs = os.path.join(build_dir, "test_rs" + executable_suffix,
# TODO Remove --test-threads=1. It as added to work around a spurious
# failure in tests::test_dispatch_sync. See #782.
"--test-threads=1")
check_exists(test_rs)
run([test_rs])

Expand Down

0 comments on commit 255790c

Please sign in to comment.