From: Iain Sandoe Date: Sun, 28 Jun 2020 09:10:06 +0000 (+0100) Subject: coroutines, testsuite: Update log messages. [NFC, PR95519] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31419a80b6bf84b1bf3bcb2489b2e660563f0dfe;p=gcc.git coroutines, testsuite: Update log messages. [NFC, PR95519] This does not affect the test functionality, but only user- facing debug messages when the tests are run outside the test-suite. gcc/testsuite/ChangeLog: PR c++/95519 * g++.dg/coroutines/torture/pr95519-02-final_suspend.C: Amend log messages. * g++.dg/coroutines/torture/pr95519-03-return-value.C: Likewise. * g++.dg/coroutines/torture/pr95519-04-yield-value.C: Likewise. * g++.dg/coroutines/torture/pr95519-05-gro.C: Likewise. --- diff --git a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-02-final_suspend.C b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-02-final_suspend.C index 8e7ba11c723..4200c333ee3 100644 --- a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-02-final_suspend.C +++ b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-02-final_suspend.C @@ -63,7 +63,7 @@ int main () bar (); if (called_fs_op != 1 || called_lambda != 1) { - PRINT ("Failed to call one of the initial_suspend cases"); + PRINT ("Failed to call one of the final_suspend cases"); abort (); } } diff --git a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-03-return-value.C b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-03-return-value.C index 7d01509001c..cf4c43d1a90 100644 --- a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-03-return-value.C +++ b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-03-return-value.C @@ -74,7 +74,7 @@ int main () if (called_rv_op != 1 || called_lambda != 1) { - PRINT ("Failed to call one of the return_void cases"); + PRINT ("Failed to call one of the return_value cases"); abort (); } } diff --git a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-04-yield-value.C b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-04-yield-value.C index d09e5ba1075..5f1be4e00f4 100644 --- a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-04-yield-value.C +++ b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-04-yield-value.C @@ -78,7 +78,7 @@ int main () if (called_yv_op != 1 || called_lambda != 1) { - PRINT ("Failed to call one of the return_void cases"); + PRINT ("Failed to call one of the yield_value cases"); abort (); } } diff --git a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-05-gro.C b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-05-gro.C index ba0a1e3dc60..fbbce97ed17 100644 --- a/gcc/testsuite/g++.dg/coroutines/torture/pr95519-05-gro.C +++ b/gcc/testsuite/g++.dg/coroutines/torture/pr95519-05-gro.C @@ -46,13 +46,13 @@ int main () foo (f); if (f.done()) { - PRINT ("unexptected finished f coro"); + PRINT ("unexpected finished foo coro"); abort (); } f.resume(); if (!f.done()) { - PRINT ("expected f to be finished"); + PRINT ("expected foo to be finished"); abort (); }