Skip to content

Commit 396565b

Browse files
committed
gccrs: Fix output line ending patterns.
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.
1 parent 9a62272 commit 396565b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

gcc/testsuite/rust/execute/torture/builtin_macros1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// { dg-output "rust/execute/torture/builtin_macros1.rs\r*" }
1+
// { dg-output "rust/execute/torture/builtin_macros1.rs\r*\n" }
22
#![feature(rustc_attrs)]
33

44
#[rustc_builtin_macro]

gcc/testsuite/rust/execute/torture/coercion3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// { dg-output "123\n" }
1+
// { dg-output "123\r*\n" }
22
#[lang = "sized"]
33
pub trait Sized {}
44

gcc/testsuite/rust/execute/torture/issue-2080.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// { dg-output "hello world: gccrs\n" }
1+
// { dg-output "hello world: gccrs\r*\n" }
22
// { dg-additional-options "-w" }
33
static TEST_1: &str = "gccrs";
44
static TEST_2: i32 = 123;

gcc/testsuite/rust/execute/torture/issue-2179.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// { dg-output "123\n" }
1+
// { dg-output "123\r*\n" }
22
#[lang = "sized"]
33
pub trait Sized {}
44

gcc/testsuite/rust/execute/torture/issue-2180.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// { dg-output "123\n" }
1+
// { dg-output "123\r*\n" }
22
#[lang = "sized"]
33
pub trait Sized {}
44

gcc/testsuite/rust/execute/torture/iter1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// { dg-output "1\n2\n" }
1+
// { dg-output "1\r*\n2\r*\n" }
22
#![feature(intrinsics)]
33

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

0 commit comments

Comments
 (0)