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.
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 ();
}
}
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 ();
}
}
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 ();
}
}
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 ();
}