cmake: set CTEST_OUTPUT_ON_FAILURE globally

We should always use this.
This commit is contained in:
Matthew Bauer
2018-11-19 16:16:16 -06:00
parent b75d5adb33
commit 285eb9a894
5 changed files with 4 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
)
'';
checkPhase = ''
preCheck = ''
# make sure the test starts even if we have less than 4 cores
export OMPI_MCA_rmaps_base_oversubscribe=1
@@ -35,9 +35,6 @@ stdenv.mkDerivation rec {
export OMP_NUM_THREADS=1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib
export CTEST_OUTPUT_ON_FAILURE=1
make test
'';
meta = with stdenv.lib; {