treewide: remove ctest usages

These are already in the generated makefiles!
This commit is contained in:
Matthew Bauer 2018-11-18 14:33:09 -06:00
parent f6f7283e69
commit 2c47a4229f
19 changed files with 2 additions and 40 deletions

View file

@ -80,7 +80,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
checkInputs = [ gtest ];
checkPhase = "ctest";
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = false; # fails to pick up supplied gtest, tries to download it instead

View file

@ -32,11 +32,6 @@ stdenv.mkDerivation rec {
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkInputs = [ check ];
checkPhase = ''
runHook preCheck
ctest -VV
runHook postCheck
'';
meta = with stdenv.lib; {
description = "Lightweight Tox client";

View file

@ -18,8 +18,6 @@ stdenv.mkDerivation rec { pname = "EZminc";
"-DEZMINC_BUILD_MRFSEG=TRUE"
"-DEZMINC_BUILD_DD=TRUE" ];
checkPhase = "ctest --output-on-failure ../tests/"; # but ctest doesn't find the tests ...
enableParallelBuilding = true;
meta = with stdenv.lib; {

View file

@ -19,9 +19,6 @@ stdenv.mkDerivation rec {
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 = ''
for p in $out/bin/*; do
wrapProgram $p --prefix PERL5LIB : $PERL5LIB

View file

@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
checkPhase = "ctest";
postInstall = ''
for file in $out/bin/*; do
wrapProgram $file --set ANTSPATH "$out/bin"

View file

@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
checkPhase = "ctest --output-on-failure"; # but no tests
postFixup = ''
for p in $out/bin/*; do
wrapProgram $p --prefix PERL5LIB : $PERL5LIB

View file

@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
checkPhase = "ctest --output-on-failure"; # still some weird test failures though
postFixup = ''
for prog in minccomplete minchistory mincpik; do
wrapProgram $out/bin/$prog --prefix PERL5LIB : $PERL5LIB

View file

@ -38,8 +38,6 @@ in stdenv.mkDerivation rec {
doCheck = true;
checkPhase = "ctest";
passthru = {
updateScript = gnome3.updateScript {
packageName = "evolution";

View file

@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
#cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" "-DBUILD_TESTING=FALSE" ];
checkPhase = "ctest --output-on-failure";
doCheck = false;
# internal_volume_io.h: No such file or directory

View file

@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
doCheck = !stdenv.isDarwin;
checkPhase = ''
preCheck = ''
export LD_LIBRARY_PATH=$(readlink -f ./src)
CTEST_OUTPUT_ON_FAILURE=1 make test
export CTEST_OUTPUT_ON_FAILURE=1
'';
meta = with stdenv.lib; {

View file

@ -17,7 +17,6 @@ stdenv.mkDerivation rec {
buildInputs = [ libevent openssl ];
doCheck = !stdenv.isDarwin;
checkPhase = "ctest";
meta = with stdenv.lib; {
description = "C client library for Couchbase";

View file

@ -31,7 +31,6 @@ let
doCheck = false; # hangs, tries to access the net?
checkInputs = [ check ];
checkPhase = "ctest";
meta = with stdenv.lib; {
description = "P2P FOSS instant messaging application aimed to replace Skype";

View file

@ -31,10 +31,6 @@ stdenv.mkDerivation rec {
"-DNLOPT_LIBRARY=${nlopt}/lib/libnlopt_cxx.so" "-DPAGMO_WITH_IPOPT=yes"
"-DCMAKE_CXX_FLAGS='-fuse-ld=gold'" ];
checkPhase = ''
ctest
'';
# All but one test pass skip for now (tests also take about 30 min to compile)
doCheck = false;

View file

@ -16,8 +16,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
checkPhase = "ctest --output-on-failure"; # but cmake doesn't run the tests ...
meta = with stdenv.lib; {
homepage = "https://github.com/BIC-MNI/${pname}";
description = "Library for working with MINC files";

View file

@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBUILD_TESTING=FALSE" ];
checkPhase = "ctest --output-on-failure";
doCheck = false;
# internal_volume_io.h: No such file or directory

View file

@ -13,8 +13,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake python ];
buildInputs = [ itk ];
checkPhase = "ctest";
meta = with stdenv.lib; {
homepage = http://elastix.isi.uu.nl/;
description = "Image registration toolkit based on ITK";

View file

@ -13,7 +13,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ];
checkPhase = "ctest";
doCheck = false; # fails 7 out of 293 tests
meta = with stdenv.lib; {

View file

@ -42,10 +42,6 @@ stdenv.mkDerivation rec {
doCheck = ! shared;
checkPhase = "
ctest
";
enableParallelBuilding = true;
passthru = {

View file

@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_FLAGS='-Wno-attributes'" ];
checkPhase = "ctest";
enableParallelBuilding = true;
meta = with stdenv.lib; {