From 288b1c1845096034f370b78f0c2ff3e31c468581 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 7 Oct 2019 18:36:28 -0500 Subject: [PATCH 12/18] test/failed-doctest-output: Fix normalization Otherwise we get: 1 2 running 2 tests - test $DIR/failed-doctest-output.rs - OtherStruct (line 20) ... FAILED - test $DIR/failed-doctest-output.rs - SomeStruct (line 10) ... FAILED + test src/rustc-1.38.0-src/$DIR/failed-doctest-output.rs - OtherStruct (line 20) ... FAILED + test src/rustc-1.38.0-src/$DIR/failed-doctest-output.rs - SomeStruct (line 10) ... FAILED 5 6 failures: 7 --- src/test/rustdoc-ui/failed-doctest-output.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc-ui/failed-doctest-output.rs b/src/test/rustdoc-ui/failed-doctest-output.rs index d2cdeb8f8f5..0e3f765fda6 100644 --- a/src/test/rustdoc-ui/failed-doctest-output.rs +++ b/src/test/rustdoc-ui/failed-doctest-output.rs @@ -3,7 +3,7 @@ // adapted to use that, and that normalize line can go away // compile-flags:--test -// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" +// normalize-stdout-test: "[[:graph:]]*src/test/rustdoc-ui" -> "$$DIR" // failure-status: 101 // doctest fails at runtime -- 2.21.0