'ctest --test-load N' fails if machine is busy
I use the --test-load
option for ctest
frequently. However, if my test machine is already busy with a load that exceeds the provided test-load
threshold, ctest
fails to find any tests.
For example:
% ctest -j 40 --test-load 40 -R dsxx
Test project /scratch/kellyt/gcc-mpi/d
***** WAITING, System Load: 43, Max Allowed Load: 40, Smallest test dsxx_tstThread_Wrapper requires 1*****
No tests were found!!!
Shouldn't ctest
just wait until the load drops below the trigger value? Both cmake-3.11.1 and cmake-3.12.2 fail this way.