ctest build returns success exit code when out-of-memory
When compiling with ctest -T Build
, if the ram is full and generates a out-of-memory, ctest exits with a 0
exit code and does not generate any error.
This silent problem is hard to track when looking at the result on cdash.
Would it be possible to explicitly track out-of-memory and return a specific error code?
Thanks!