aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbadumbatish <tanghocle456@gmail.com>2024-07-17 12:00:44 -0700
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:53 +0100
commitf89b07d3589d071b9b158e8c744f2006f8359f12 (patch)
tree95a5a6d1fc33f21039400a31655c2f361baa3885 /gcc
parent57d12c683b3783e2b9460fe5607a4d91f6b67de9 (diff)
downloadgcc-f89b07d3589d071b9b158e8c744f2006f8359f12.zip
gcc-f89b07d3589d071b9b158e8c744f2006f8359f12.tar.gz
gcc-f89b07d3589d071b9b158e8c744f2006f8359f12.tar.bz2
gccrs: Update pattern with \r* for dg-output tests
First scan with "rg -v '\\r' gcc/testsuite/rust | rg 'dg-output'" gcc/testsuite/ChangeLog: * rust/execute/torture/issue-2187.rs: Update pattern with \r* for dg-output tests * rust/execute/xfail/macro1.rs: Likewise
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/rust/execute/torture/issue-2187.rs3
-rw-r--r--gcc/testsuite/rust/execute/xfail/macro1.rs2
2 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/rust/execute/torture/issue-2187.rs b/gcc/testsuite/rust/execute/torture/issue-2187.rs
index b531257..08246de 100644
--- a/gcc/testsuite/rust/execute/torture/issue-2187.rs
+++ b/gcc/testsuite/rust/execute/torture/issue-2187.rs
@@ -1,4 +1,4 @@
-/* { dg-output "L1\n\L2\nL3\nL4" } */
+/* { dg-output "L1\r*\n\L2\r*\nL3\r*\nL4" } */
extern "C" {
fn printf(s: *const i8, ...);
}
@@ -20,4 +20,3 @@ L4\0";
0
}
-
diff --git a/gcc/testsuite/rust/execute/xfail/macro1.rs b/gcc/testsuite/rust/execute/xfail/macro1.rs
index eab5a02..ab71941 100644
--- a/gcc/testsuite/rust/execute/xfail/macro1.rs
+++ b/gcc/testsuite/rust/execute/xfail/macro1.rs
@@ -1,4 +1,4 @@
-// { dg-output "macro\nmacro\nmacro\nmacro\n" }
+// { dg-output "macro\r*\nmacro\r*\nmacro\r*\nmacro\r*\n" }
extern "C" {
fn printf(s: *const i8, ...);
}