When running ctest -j 16
, the wall time executing the tests varies a lot because some tests are much slower than others. If the slow tests are started first the suite completes quick. I couldn’t find anything to hint ctest running some tests early except for restricting the order in which the tests must run. I’d rather avoid that. I guess my ideal would be if the system learned to schedule the tests efficiently from wall and cpu time stats collected by previous runs. That would also allow to report time differences compared to previous runs.
Is it possible to realize this using the current ctest?