Merge pull request #50527 from matthewbauer/ninja-check-phase

Add check phase to ninja setup hook
This commit is contained in:
Matthew Bauer
2018-11-20 16:55:12 -06:00
committed by GitHub
26 changed files with 59 additions and 88 deletions

View File

@@ -30,10 +30,6 @@ stdenv.mkDerivation rec {
doCheck = ! shared;
checkPhase = "
ctest
";
enableParallelBuilding = true;
meta = with stdenv.lib; {

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; {