ctest -D NightlyMemCheck on around 1800 unit tests. I would like to generate a valgrind suppression file from this command. What is the best way of doing this? For the valgrind command itself, there is
but how can I pass this to ctest so that it will generate a single suppression log file for all of my unit tests ?