* [committed, obvious] Fix line terminator pattern in testcase.
@ 2020-01-21 20:19 Sandra Loosemore
0 siblings, 0 replies; only message in thread
From: Sandra Loosemore @ 2020-01-21 20:19 UTC (permalink / raw)
To: gcc-patches
I observed this testcase was failing on nios2-elf. The more general
regexp was copied from other tests using dg-output.
2020-01-21 Sandra Loosemore <sandra@codesourcery.com>
gcc/testsuite/
* g++.dg/coroutines/torture/mid-suspend-destruction-0.C: Generalize
line terminators in patterns.
---
gcc/testsuite/ChangeLog | 5 +++++
.../g++.dg/coroutines/torture/mid-suspend-destruction-0.C | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4bea57e..b164f31 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-21 Sandra Loosemore <sandra@codesourcery.com>
+
+ * g++.dg/coroutines/torture/mid-suspend-destruction-0.C: Generalize
+ line terminators in patterns.
+
2020-01-21 Richard Sandiford <richard.sandiford@arm.com>
* gcc.target/aarch64/sve/acle/general-c/load_1.c (f1): Cast to
diff --git a/gcc/testsuite/g++.dg/coroutines/torture/mid-suspend-destruction-0.C b/gcc/testsuite/g++.dg/coroutines/torture/mid-suspend-destruction-0.C
index 934fb19..505bfa3 100644
--- a/gcc/testsuite/g++.dg/coroutines/torture/mid-suspend-destruction-0.C
+++ b/gcc/testsuite/g++.dg/coroutines/torture/mid-suspend-destruction-0.C
@@ -1,8 +1,8 @@
// { dg-do run }
-// { dg-output "main: returning\n" }
-// { dg-output "Destroyed coro1\n" }
-// { dg-output "Destroyed suspend_always_prt\n" }
-// { dg-output "Destroyed Promise\n" }
+// { dg-output "main: returning(\n|\r\n|\r)" }
+// { dg-output "Destroyed coro1(\n|\r\n|\r)" }
+// { dg-output "Destroyed suspend_always_prt(\n|\r\n|\r)" }
+// { dg-output "Destroyed Promise(\n|\r\n|\r)" }
// Check that we still get the right DTORs run when we let a suspended coro
// go out of scope.
--
2.8.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-21 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 20:19 [committed, obvious] Fix line terminator pattern in testcase Sandra Loosemore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).