diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-07-30 09:27:55 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-09 15:21:38 -0500 |
commit | e50c8b2647ce482654ab0e4f77a88893b497ed37 (patch) | |
tree | eb0c442d10d190933dac120b525e6779e44ea2bd /bootstrap/rust-1.74/0007-test-failed-doctest-output-Fix-normalization.patch | |
parent | ecce2855f3220b8b9b39c58ef05c97643fd62f1b (diff) | |
download | packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.tar.gz packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.tar.bz2 packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.tar.xz packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.zip |
bootstrap/rust-1.{61-79}: New package
Diffstat (limited to 'bootstrap/rust-1.74/0007-test-failed-doctest-output-Fix-normalization.patch')
-rw-r--r-- | bootstrap/rust-1.74/0007-test-failed-doctest-output-Fix-normalization.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/bootstrap/rust-1.74/0007-test-failed-doctest-output-Fix-normalization.patch b/bootstrap/rust-1.74/0007-test-failed-doctest-output-Fix-normalization.patch new file mode 100644 index 000000000..3f5dda4ff --- /dev/null +++ b/bootstrap/rust-1.74/0007-test-failed-doctest-output-Fix-normalization.patch @@ -0,0 +1,33 @@ +From 99004a91f6455c835d2625c757f17ee15d2e084a Mon Sep 17 00:00:00 2001 +From: Samuel Holland <samuel@sholland.org> +Date: Mon, 7 Oct 2019 18:36:28 -0500 +Subject: [PATCH 07/13] 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 +--- + tests/rustdoc-ui/failed-doctest-output.rs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/rustdoc-ui/failed-doctest-output.rs b/tests/rustdoc-ui/failed-doctest-output.rs +index 77647f8eca954..8361f041ffca0 100644 +--- a/tests/rustdoc-ui/doctest/failed-doctest-output.rs ++++ b/tests/rustdoc-ui/doctest/failed-doctest-output.rs +@@ -7,7 +7,7 @@ + + // compile-flags:--test --test-args --test-threads=1 + // rustc-env:RUST_BACKTRACE=0 +-// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR" ++// normalize-stdout-test: "[[:graph:]]*tests/rustdoc-ui/doctest" -> "$$DIR" + // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" + // failure-status: 101 + |