ctest has several options to filter tests which will be executed, via regexp, via labels, by numbers.
Is there a way to let’s say create a text file which contains per line the name of one test, and then have ctest execute just those tests ?
This would be similar to the way --rerun-failed uses the LastTestsFailed.log, but without the test numbers, since they can change over time.
So I could call it like:
ctest -f MyFavouriteTests.txt