summaryrefslogtreecommitdiffstats
path: root/tests/pretty/tests-are-sorted.pp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:29 +0000
commit631cd5845e8de329d0e227aaa707d7ea228b8f8f (patch)
treea1b87c8f8cad01cf18f7c5f57a08f102771ed303 /tests/pretty/tests-are-sorted.pp
parentAdding debian version 1.69.0+dfsg1-1. (diff)
downloadrustc-631cd5845e8de329d0e227aaa707d7ea228b8f8f.tar.xz
rustc-631cd5845e8de329d0e227aaa707d7ea228b8f8f.zip
Merging upstream version 1.70.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/pretty/tests-are-sorted.pp')
-rw-r--r--tests/pretty/tests-are-sorted.pp22
1 files changed, 19 insertions, 3 deletions
diff --git a/tests/pretty/tests-are-sorted.pp b/tests/pretty/tests-are-sorted.pp
index 15dcd4ed9..58f746f2e 100644
--- a/tests/pretty/tests-are-sorted.pp
+++ b/tests/pretty/tests-are-sorted.pp
@@ -4,7 +4,7 @@
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
-// compile-flags: --crate-type=lib --test
+// compile-flags: --crate-type=lib --test --remap-path-prefix={{src-base}}/=/the/src/ --remap-path-prefix={{src-base}}\=/the/src/
// pretty-compare-only
// pretty-mode:expanded
// pp-exact:tests-are-sorted.pp
@@ -18,6 +18,11 @@ pub const m_test: test::TestDescAndFn =
name: test::StaticTestName("m_test"),
ignore: false,
ignore_message: ::core::option::Option::None,
+ source_file: "/the/src/tests-are-sorted.rs",
+ start_line: 7usize,
+ start_col: 4usize,
+ end_line: 7usize,
+ end_col: 10usize,
compile_fail: false,
no_run: false,
should_panic: test::ShouldPanic::No,
@@ -34,8 +39,13 @@ pub const z_test: test::TestDescAndFn =
test::TestDescAndFn {
desc: test::TestDesc {
name: test::StaticTestName("z_test"),
- ignore: false,
- ignore_message: ::core::option::Option::None,
+ ignore: true,
+ ignore_message: ::core::option::Option::Some("not yet implemented"),
+ source_file: "/the/src/tests-are-sorted.rs",
+ start_line: 11usize,
+ start_col: 4usize,
+ end_line: 11usize,
+ end_col: 10usize,
compile_fail: false,
no_run: false,
should_panic: test::ShouldPanic::No,
@@ -43,6 +53,7 @@ pub const z_test: test::TestDescAndFn =
},
testfn: test::StaticTestFn(|| test::assert_test_result(z_test())),
};
+#[ignore = "not yet implemented"]
fn z_test() {}
extern crate test;
@@ -54,6 +65,11 @@ pub const a_test: test::TestDescAndFn =
name: test::StaticTestName("a_test"),
ignore: false,
ignore_message: ::core::option::Option::None,
+ source_file: "/the/src/tests-are-sorted.rs",
+ start_line: 14usize,
+ start_col: 4usize,
+ end_line: 14usize,
+ end_col: 10usize,
compile_fail: false,
no_run: false,
should_panic: test::ShouldPanic::No,