aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-06-28 10:10:06 +0100
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:15:12 -0300
commit28142a16636c02b6aa0474e0f2844b5d916f9309 (patch)
tree2be295c0cfae16d4dbfcc7db1c9aa6b45a5e6da2 /gcc
parent0e460eb019fa7333a8ee235d809d785d1f16982b (diff)
downloadgcc-28142a16636c02b6aa0474e0f2844b5d916f9309.zip
gcc-28142a16636c02b6aa0474e0f2844b5d916f9309.tar.gz
gcc-28142a16636c02b6aa0474e0f2844b5d916f9309.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/coroutines/torture/pr95519-02-final_suspend.C2
-rw-r--r--gcc/testsuite/g++.dg/coroutines/torture/pr95519-03-return-value.C2
-rw-r--r--gcc/testsuite/g++.dg/coroutines/torture/pr95519-04-yield-value.C2
-rw-r--r--gcc/testsuite/g++.dg/coroutines/torture/pr95519-05-gro.C4
4 files changed, 5 insertions, 5 deletions
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 8e7ba11..4200c33 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 7d01509..cf4c43d 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 d09e5ba..5f1be4e 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 ba0a1e3..fbbce97 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 ();
}