treewide: remove BUILD_TESTING flag

This is now set by CMake
This commit is contained in:
Matthew Bauer
2019-03-11 10:11:28 -04:00
parent 91f0c848f4
commit 6ed49262f5
19 changed files with 9 additions and 30 deletions
@@ -22,13 +22,12 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib netcdf nifticlib hdf5 ];
cmakeFlags = [
"-DBUILD_TESTING=${if doCheck then "ON" else "OFF"}"
"-DLIBMINC_MINC1_SUPPORT=ON"
"-DLIBMINC_BUILD_SHARED_LIBS=ON"
"-DLIBMINC_USE_SYSTEM_NIFTI=ON"
];
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
doCheck = true;
checkPhase = ''
export LD_LIBRARY_PATH="$(pwd)" # see #22060
ctest -E 'ezminc_rw_test|minc_conversion' --output-on-failure