mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
treewide: remove ctest usages
These are already in the generated makefiles!
This commit is contained in:
parent
f6f7283e69
commit
2c47a4229f
|
@ -80,7 +80,6 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
checkInputs = [ gtest ];
|
checkInputs = [ gtest ];
|
||||||
checkPhase = "ctest";
|
|
||||||
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||||
doCheck = false; # fails to pick up supplied gtest, tries to download it instead
|
doCheck = false; # fails to pick up supplied gtest, tries to download it instead
|
||||||
|
|
||||||
|
|
|
@ -32,11 +32,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||||
checkInputs = [ check ];
|
checkInputs = [ check ];
|
||||||
checkPhase = ''
|
|
||||||
runHook preCheck
|
|
||||||
ctest -VV
|
|
||||||
runHook postCheck
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Lightweight Tox client";
|
description = "Lightweight Tox client";
|
||||||
|
|
|
@ -18,8 +18,6 @@ stdenv.mkDerivation rec { pname = "EZminc";
|
||||||
"-DEZMINC_BUILD_MRFSEG=TRUE"
|
"-DEZMINC_BUILD_MRFSEG=TRUE"
|
||||||
"-DEZMINC_BUILD_DD=TRUE" ];
|
"-DEZMINC_BUILD_DD=TRUE" ];
|
||||||
|
|
||||||
checkPhase = "ctest --output-on-failure ../tests/"; # but ctest doesn't find the tests ...
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -19,9 +19,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
||||||
|
|
||||||
checkPhase = "ctest --output-on-failure";
|
|
||||||
# don't run the tests as they fail at least due to missing program wrappers in this phase ...
|
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for p in $out/bin/*; do
|
for p in $out/bin/*; do
|
||||||
wrapProgram $p --prefix PERL5LIB : $PERL5LIB
|
wrapProgram $p --prefix PERL5LIB : $PERL5LIB
|
||||||
|
|
|
@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
checkPhase = "ctest";
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for file in $out/bin/*; do
|
for file in $out/bin/*; do
|
||||||
wrapProgram $file --set ANTSPATH "$out/bin"
|
wrapProgram $file --set ANTSPATH "$out/bin"
|
||||||
|
|
|
@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
|
||||||
|
|
||||||
checkPhase = "ctest --output-on-failure"; # but no tests
|
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for p in $out/bin/*; do
|
for p in $out/bin/*; do
|
||||||
wrapProgram $p --prefix PERL5LIB : $PERL5LIB
|
wrapProgram $p --prefix PERL5LIB : $PERL5LIB
|
||||||
|
|
|
@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
|
||||||
|
|
||||||
checkPhase = "ctest --output-on-failure"; # still some weird test failures though
|
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for prog in minccomplete minchistory mincpik; do
|
for prog in minccomplete minchistory mincpik; do
|
||||||
wrapProgram $out/bin/$prog --prefix PERL5LIB : $PERL5LIB
|
wrapProgram $out/bin/$prog --prefix PERL5LIB : $PERL5LIB
|
||||||
|
|
|
@ -38,8 +38,6 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
checkPhase = "ctest";
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "evolution";
|
packageName = "evolution";
|
||||||
|
|
|
@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
#cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" "-DBUILD_TESTING=FALSE" ];
|
#cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" "-DBUILD_TESTING=FALSE" ];
|
||||||
|
|
||||||
checkPhase = "ctest --output-on-failure";
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
# internal_volume_io.h: No such file or directory
|
# internal_volume_io.h: No such file or directory
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
checkPhase = ''
|
preCheck = ''
|
||||||
export LD_LIBRARY_PATH=$(readlink -f ./src)
|
export LD_LIBRARY_PATH=$(readlink -f ./src)
|
||||||
CTEST_OUTPUT_ON_FAILURE=1 make test
|
export CTEST_OUTPUT_ON_FAILURE=1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -17,7 +17,6 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ libevent openssl ];
|
buildInputs = [ libevent openssl ];
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
checkPhase = "ctest";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "C client library for Couchbase";
|
description = "C client library for Couchbase";
|
||||||
|
|
|
@ -31,7 +31,6 @@ let
|
||||||
|
|
||||||
doCheck = false; # hangs, tries to access the net?
|
doCheck = false; # hangs, tries to access the net?
|
||||||
checkInputs = [ check ];
|
checkInputs = [ check ];
|
||||||
checkPhase = "ctest";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "P2P FOSS instant messaging application aimed to replace Skype";
|
description = "P2P FOSS instant messaging application aimed to replace Skype";
|
||||||
|
|
|
@ -31,10 +31,6 @@ stdenv.mkDerivation rec {
|
||||||
"-DNLOPT_LIBRARY=${nlopt}/lib/libnlopt_cxx.so" "-DPAGMO_WITH_IPOPT=yes"
|
"-DNLOPT_LIBRARY=${nlopt}/lib/libnlopt_cxx.so" "-DPAGMO_WITH_IPOPT=yes"
|
||||||
"-DCMAKE_CXX_FLAGS='-fuse-ld=gold'" ];
|
"-DCMAKE_CXX_FLAGS='-fuse-ld=gold'" ];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
ctest
|
|
||||||
'';
|
|
||||||
|
|
||||||
# All but one test pass skip for now (tests also take about 30 min to compile)
|
# All but one test pass skip for now (tests also take about 30 min to compile)
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
|
||||||
|
|
||||||
checkPhase = "ctest --output-on-failure"; # but cmake doesn't run the tests ...
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/BIC-MNI/${pname}";
|
homepage = "https://github.com/BIC-MNI/${pname}";
|
||||||
description = "Library for working with MINC files";
|
description = "Library for working with MINC files";
|
||||||
|
|
|
@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBUILD_TESTING=FALSE" ];
|
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBUILD_TESTING=FALSE" ];
|
||||||
|
|
||||||
checkPhase = "ctest --output-on-failure";
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
# internal_volume_io.h: No such file or directory
|
# internal_volume_io.h: No such file or directory
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake python ];
|
nativeBuildInputs = [ cmake python ];
|
||||||
buildInputs = [ itk ];
|
buildInputs = [ itk ];
|
||||||
|
|
||||||
checkPhase = "ctest";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://elastix.isi.uu.nl/;
|
homepage = http://elastix.isi.uu.nl/;
|
||||||
description = "Image registration toolkit based on ITK";
|
description = "Image registration toolkit based on ITK";
|
||||||
|
|
|
@ -13,7 +13,6 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
checkPhase = "ctest";
|
|
||||||
doCheck = false; # fails 7 out of 293 tests
|
doCheck = false; # fails 7 out of 293 tests
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -42,10 +42,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = ! shared;
|
doCheck = ! shared;
|
||||||
|
|
||||||
checkPhase = "
|
|
||||||
ctest
|
|
||||||
";
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
|
@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_FLAGS='-Wno-attributes'" ];
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_FLAGS='-Wno-attributes'" ];
|
||||||
|
|
||||||
checkPhase = "ctest";
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue