Open EmilChoparinov opened 6 months ago
The replacement is doing this :
CRITERION_NO_EARLY_EXIT=1 valgrind $VALGRIND_FLAGS ./unit_tests
You have to export this variable first.
EDIT : I read about the CRITERION_NO_EARLY_EXIT somewhere I can't remember. But it appears that, this env variable also doesn't do anything anymore, because it doesn't appear here : https://criterion.readthedocs.io/en/master/env.html#environment-variables
In issue #21 it was stated to use the
--no-early-exit
flag to run get a clean valgrind run but since then the flag is deprecated. What's the replacement? I would really love to use this library with valgrind.Code:
Valgrind run: