Skip to content

Commit

Permalink
Update pattern with \r* for dg-output tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
badumbatish authored and P-E-P committed Jul 18, 2024
1 parent 5f001ba commit 0c2b036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions gcc/testsuite/rust/execute/torture/issue-2187.rs
Original file line number Diff line number Diff line change
@@ -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, ...);
}
Expand All @@ -20,4 +20,3 @@ L4\0";

0
}

2 changes: 1 addition & 1 deletion gcc/testsuite/rust/execute/xfail/macro1.rs
Original file line number Diff line number Diff line change
@@ -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, ...);
}
Expand Down

0 comments on commit 0c2b036

Please sign in to comment.