diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-12-08 14:32:50 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-12-08 14:32:50 +0000 |
commit | 99162e025d3b7323de9deb3992feb4be7fdb2587 (patch) | |
tree | 748dbd1630f96ba68d77eaee1f2cd708f00c5b4d /user/rust/0012-test-failed-doctest-output-Fix-normalization.patch | |
parent | 032d4ce8dfbf86b3d18d9d91aec917b5824f1aad (diff) | |
parent | 3febb3d8330926d97e865c3aeaddff95acef8b83 (diff) | |
download | packages-99162e025d3b7323de9deb3992feb4be7fdb2587.tar.gz packages-99162e025d3b7323de9deb3992feb4be7fdb2587.tar.bz2 packages-99162e025d3b7323de9deb3992feb4be7fdb2587.tar.xz packages-99162e025d3b7323de9deb3992feb4be7fdb2587.zip |
Merge branch 'rust' into 'master'
user/rust: Bump to 1.38.0
See merge request adelie/packages!365
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 + |