diff options
author | Samuel Holland <samuel@sholland.org> | 2019-10-07 00:01:16 +0000 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2019-10-14 22:36:45 -0500 |
commit | 3febb3d8330926d97e865c3aeaddff95acef8b83 (patch) | |
tree | 08b9bb19c509e2093a12b7bd53a2ac51769134f6 /user/rust/0012-test-failed-doctest-output-Fix-normalization.patch | |
parent | b5b897e47ab11998c46db7f9ba96410a187c0634 (diff) | |
download | packages-3febb3d8330926d97e865c3aeaddff95acef8b83.tar.gz packages-3febb3d8330926d97e865c3aeaddff95acef8b83.tar.bz2 packages-3febb3d8330926d97e865c3aeaddff95acef8b83.tar.xz packages-3febb3d8330926d97e865c3aeaddff95acef8b83.zip |
user/rust: Bump to 1.38.0
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'user/rust/0012-test-failed-doctest-output-Fix-normalization.patch')
-rw-r--r-- | user/rust/0012-test-failed-doctest-output-Fix-normalization.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/rust/0012-test-failed-doctest-output-Fix-normalization.patch b/user/rust/0012-test-failed-doctest-output-Fix-normalization.patch new file mode 100644 index 000000000..37723d14b --- /dev/null +++ b/user/rust/0012-test-failed-doctest-output-Fix-normalization.patch @@ -0,0 +1,36 @@ +From 288b1c1845096034f370b78f0c2ff3e31c468581 Mon Sep 17 00:00:00 2001 +From: Samuel Holland <samuel@sholland.org> +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 + |