-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boost_Tests in develop_approvaltests_fetch_content fails on all Linux gcc CI builds #1
Comments
Comparing the logs of the clang10 and gcc10 builds on Linux, the following stands out, in gcc10 (failing) build:
The test outputs are: clang 10
gcc 10
|
…t without conan install works (#1)
I can reproduce this on my Mac:
|
The above was obtained from running with CLion's Boost Test integration... When I run the exe directly, I get this output:
|
Exit code 200 is: const int exit_exception_failure = 200; // otherwise uncaught exception |
By pruning code out, I've found that when this register_observer() function is called, the code crashes. If I don't call this, it doesn't crash. int register_our_listener(BoostApprovalListener& t)
{
boost::unit_test::framework::register_observer(t); // <<< Calling this triggers the crash somehow.
return 1;
} I'm guessing it's an object lifetime issue... Or could it be static order of initialisation fiasco? |
I've tried various Boost versions with gcc 9 on my Mac, and observe the following:
The version currently downloaded in this project is 1_74_0 |
…ltests_fetch_content with gcc (#1)
Am thinking I should log a bug for this, or at least see if anyone else has done so... |
… most dependencies As this project has CI builds run every week, this should allow me to detect earlier any breakages in ApprovalTests.cpp code due to dependencies updating. For the value of this, see approvals/ApprovalTests.cpp#168 Notes: * Catch2 uses v2.x, as we don't yet support v3 * Boost uses 1.72.0 - see #1 for why.
Example output:
https://github.com/claremacrae/ApprovalTests.cpp.CMakeSamples/runs/1635245806?check_suite_focus=true
The output is:
The text was updated successfully, but these errors were encountered: