Skip to content

Commit cff6ce6

Browse files
force single-threaded text execution
1 parent bed54cf commit cff6ce6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/rustdoc-ui/cfg-test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// build-pass (FIXME(62277): could be check-pass?)
2-
// compile-flags:--test
2+
// compile-flags:--test --test-args --test-threads=1
33
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
44

55
// Crates like core have doctests gated on `cfg(not(test))` so we need to make

src/test/rustdoc-ui/cfg-test.stdout

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
running 2 tests
3-
test $DIR/cfg-test.rs - Foo (line 20) ... ok
43
test $DIR/cfg-test.rs - Bar (line 28) ... ok
4+
test $DIR/cfg-test.rs - Foo (line 20) ... ok
55

66
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
77

0 commit comments

Comments
 (0)