I have a project which successfully uses Criterion to run a few unit tests. However, adding -fprofile-arcs -ftest-coverage to the compilation arguments generates a binary which has this error at runtime:
criterion: Re-entering criterion from a test worker. This is a catastrophic bug, please report it on the issue tracker.
Bailing out to avoid fork-bombing the system.
criterion: Could not spawn test instance: Protocol error
Aborted
I have a project which successfully uses Criterion to run a few unit tests. However, adding
-fprofile-arcs -ftest-coverage
to the compilation arguments generates a binary which has this error at runtime:Compiler: gcc 10.2.1 Distro: Debian 11.7 Arch: ARM64 Criterion: 2.3.3 (from the Debian repo)
I see that this is a minor version behind, maybe this has been addressed, or maybe I'm missing something?