ctest: Missing file with --tests-from-file or --exclude-from-file is not a fatal error
When running ctest, if the file listed with either --tests-from-file
or --exclude-from-file
doesn't exist, a warning is printed but ctest runs anyway. This should be a fatal error, as it could result in running tests that were not intended to be run, and that could be destructive if tests do something that modifies system state (e.g. stop a server or running process).
CC: @neundorf