diff options
| author | QuietMisdreavus <grey@quietmisdreavus.net> | 2019-07-02 13:30:54 -0500 |
|---|---|---|
| committer | QuietMisdreavus <grey@quietmisdreavus.net> | 2019-07-06 21:41:11 -0500 |
| commit | cff6ce667fd8c5002f789a55f75ba70b67be42f7 (patch) | |
| tree | a4e49538f5a16783b67b326a3564bab7c50e17a9 | |
| parent | bed54cf85457d76f479fcd406f07b39c5e8abb12 (diff) | |
| download | rust-cff6ce667fd8c5002f789a55f75ba70b67be42f7.tar.gz rust-cff6ce667fd8c5002f789a55f75ba70b67be42f7.zip | |
force single-threaded text execution
| -rw-r--r-- | src/test/rustdoc-ui/cfg-test.rs | 2 | ||||
| -rw-r--r-- | src/test/rustdoc-ui/cfg-test.stdout | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-ui/cfg-test.rs b/src/test/rustdoc-ui/cfg-test.rs index 5360354d77a..e88ddfb9e2a 100644 --- a/src/test/rustdoc-ui/cfg-test.rs +++ b/src/test/rustdoc-ui/cfg-test.rs @@ -1,5 +1,5 @@ // build-pass (FIXME(62277): could be check-pass?) -// compile-flags:--test +// compile-flags:--test --test-args --test-threads=1 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" // Crates like core have doctests gated on `cfg(not(test))` so we need to make diff --git a/src/test/rustdoc-ui/cfg-test.stdout b/src/test/rustdoc-ui/cfg-test.stdout index de7e6097fb7..86141aed5c3 100644 --- a/src/test/rustdoc-ui/cfg-test.stdout +++ b/src/test/rustdoc-ui/cfg-test.stdout @@ -1,7 +1,7 @@ running 2 tests -test $DIR/cfg-test.rs - Foo (line 20) ... ok test $DIR/cfg-test.rs - Bar (line 28) ... ok +test $DIR/cfg-test.rs - Foo (line 20) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out |
