about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-09-07 20:32:09 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-09-07 20:32:09 -0400
commited4dcc04d8957e35da8256f6ffdd1ac574af4a76 (patch)
tree8388de17a3e64f17d341637fab50f492a5250b57
parent7d289aeade481c03d42e7f6d31bc6b64a73cfa45 (diff)
downloadrust-ed4dcc04d8957e35da8256f6ffdd1ac574af4a76.tar.gz
rust-ed4dcc04d8957e35da8256f6ffdd1ac574af4a76.zip
Make rustdoc output deterministic for UI tests
-rw-r--r--src/test/rustdoc-ui/failed-doctest-output.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-ui/failed-doctest-output.rs b/src/test/rustdoc-ui/failed-doctest-output.rs
index fcbd7cabc69..90cdb5127be 100644
--- a/src/test/rustdoc-ui/failed-doctest-output.rs
+++ b/src/test/rustdoc-ui/failed-doctest-output.rs
@@ -2,7 +2,7 @@
 // FIXME: if/when the output of the test harness can be tested on its own, this test should be
 // adapted to use that, and that normalize line can go away
 
-// compile-flags:--test
+// compile-flags:--test --test-args --test-threads=1
 // rustc-env:RUST_BACKTRACE=0
 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
 // failure-status: 101