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.
This commit is contained in:
parent
ef8d1da1b5
commit
31419a80b6
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user