Skip to content

Commit

Permalink
gccrs: Fix output line ending patterns.
Browse files Browse the repository at this point in the history
gcc/testsuite/ChangeLog:

	* rust/execute/torture/builtin_macros1.rs: Fix output pattern.
	* rust/execute/torture/coercion3.rs: Likewise.
	* rust/execute/torture/issue-2080.rs: Likewise.
	* rust/execute/torture/issue-2179.rs: Likewise.
	* rust/execute/torture/issue-2180.rs: Likewise.
	* rust/execute/torture/iter1.rs: Likewise.
  • Loading branch information
CohenArthur committed Jan 25, 2024
1 parent 9a62272 commit 396565b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gcc/testsuite/rust/execute/torture/builtin_macros1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// { dg-output "rust/execute/torture/builtin_macros1.rs\r*" }
// { dg-output "rust/execute/torture/builtin_macros1.rs\r*\n" }
#![feature(rustc_attrs)]

#[rustc_builtin_macro]
Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/rust/execute/torture/coercion3.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// { dg-output "123\n" }
// { dg-output "123\r*\n" }
#[lang = "sized"]
pub trait Sized {}

Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/rust/execute/torture/issue-2080.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// { dg-output "hello world: gccrs\n" }
// { dg-output "hello world: gccrs\r*\n" }
// { dg-additional-options "-w" }
static TEST_1: &str = "gccrs";
static TEST_2: i32 = 123;
Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/rust/execute/torture/issue-2179.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// { dg-output "123\n" }
// { dg-output "123\r*\n" }
#[lang = "sized"]
pub trait Sized {}

Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/rust/execute/torture/issue-2180.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// { dg-output "123\n" }
// { dg-output "123\r*\n" }
#[lang = "sized"]
pub trait Sized {}

Expand Down
2 changes: 1 addition & 1 deletion gcc/testsuite/rust/execute/torture/iter1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// { dg-output "1\n2\n" }
// { dg-output "1\r*\n2\r*\n" }
#![feature(intrinsics)]

pub use option::Option::{self, None, Some};
Expand Down

0 comments on commit 396565b

Please sign in to comment.