ctest -C Release -C Debug silently ignores the second config
What I expected:
One of
- ctest would run the tests under both the release and debug configurations, with the name of the test annotated saying which config was being run, and if --parallel was supplied, run them in parallel
- ctest would error on incorrect arguments provided on the commandline
What I got:
ctest silently ignores one of the two configs requested, and runs the test. But because the test names are the same for each configuration, there's no indication whether it picks the first or second instance of the parameter.