cmake: set CTEST_OUTPUT_ON_FAILURE globally
We should always use this.
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user