Skip to content

Commit

Permalink
tree-wide: disable doCheck and doInstallCheck where it fails (the…
Browse files Browse the repository at this point in the history
… trivial part)
  • Loading branch information
oxij committed Apr 25, 2018
1 parent f07f0c6 commit 7438083
Show file tree
Hide file tree
Showing 135 changed files with 326 additions and 52 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/altcoins/bitcoin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ stdenv.mkDerivation rec{
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
];

# Fails with "This application failed to start because it could not
# find or load the Qt platform plugin "minimal""
doCheck = false;

meta = {
description = "Peer-to-peer electronic cash system";
longDescription= ''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/audio/easytag/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ in stdenv.mkDerivation rec {
gsettings-desktop-schemas gnome3.defaultIconTheme
];

doCheck = false; # fails 1 out of 9 tests

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/graphics/ImageMagick/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ stdenv.mkDerivation rec {
[ libX11 libXext libXt libwebp ]
;

doCheck = false; # fails 6 out of 76 tests

postInstall = ''
(cd "$dev/include" && ln -s ImageMagick* ImageMagick)
moveToOutput "bin/*-config" "$dev"
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/networking/browsers/firefox/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ stdenv.mkDerivation (rec {
++ extraMakeFlags;

enableParallelBuilding = true;
doCheck = false; # "--disable-tests" above

preInstall = ''
# The following is needed for startup cache creation on grsecurity kernels.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ stdenv.mkDerivation rec {
pkgconfig intltool autoconf-archive
appstream-glib
];

buildInputs = [ gtk3 json-glib curl glib hicolor-icon-theme ];

meta = with stdenv.lib;
{ description = "GTK remote control for the Transmission BitTorrent client";
homepage = https://github.com/ajf8/transmission-remote-gtk;
license = licenses.gpl2;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
};
doCheck = false; # fails with style validation error

meta = with stdenv.lib; {
description = "GTK remote control for the Transmission BitTorrent client";
homepage = https://github.com/ajf8/transmission-remote-gtk;
license = licenses.gpl2;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/version-management/cvs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ stdenv.mkDerivation {

buildInputs = [ nano ];

doCheck = false; # fails 1 of 1 tests

meta = {
homepage = http://cvs.nongnu.org;
description = "Concurrent Versions System - a source control system";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/version-management/subversion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ let

enableParallelBuilding = true;

doCheck = false; # fails 10 out of ~2300 tests

meta = {
description = "A version control system intended to be a compelling replacement for CVS in the open source community";
homepage = http://subversion.apache.org/;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/virtualization/qemu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ stdenv.mkDerivation rec {
++ optional openGLSupport "--enable-opengl"
++ optional virglSupport "--enable-virglrenderer";

doCheck = false; # tries to access /dev

postFixup =
''
for exe in $out/bin/qemu-system-* ; do
Expand Down
2 changes: 2 additions & 0 deletions pkgs/data/misc/tzdata/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ stdenv.mkDerivation rec {

depsBuildBuild = [ buildPackages.stdenv.cc ];

doCheck = false; # needs more tools

installFlags = [ "ZIC=./zic-native" ];

preInstall = ''
Expand Down
3 changes: 3 additions & 0 deletions pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ stdenv.mkDerivation rec {
'';

NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";

doCheck = false; # requires X11 daemon

}
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-2/desktop/zenity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ stdenv.mkDerivation {
buildInputs = [ gtk libglade libxml2 libxslt libX11 docbook_xml_dtd_412 ];

nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which ];

doCheck = false; # fails, tries to access the net
}
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ GConf glib ];

postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";

doCheck = false; # needs dbus daemon
}
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/core/dconf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja vala pkgconfig python3 libxslt libxml2 docbook_xsl ];
buildInputs = [ glib dbus-glib ];

doCheck = false; # fails 2 out of 9 tests, maybe needs dbus daemon?

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
Expand Down
3 changes: 2 additions & 1 deletion pkgs/desktops/xfce/core/xfconf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ stdenv.mkDerivation rec {
buildInputs = [ intltool glib libxfce4util ];
propagatedBuildInputs = [ dbus-glib ];

doCheck = false; # requires dbus daemon

meta = with stdenv.lib; {
homepage = http://docs.xfce.org/xfce/xfconf/start;
description = "Simple client-server configuration storage and query system for Xfce";
license = licenses.gpl2;
platforms = platforms.linux;
};
}

2 changes: 2 additions & 0 deletions pkgs/development/compilers/gcc/4.8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ stdenv.mkDerivation ({
(if profiledCompiler then "profiledbootstrap" else "bootstrap")
else "";

doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv

installTargets =
if stripped
then "install-strip"
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/gcc/4.9/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ stdenv.mkDerivation ({
(if profiledCompiler then "profiledbootstrap" else "bootstrap")
else "";

doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv

installTargets =
if stripped
then "install-strip"
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/gcc/5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ stdenv.mkDerivation ({
(if profiledCompiler then "profiledbootstrap" else "bootstrap")
else "";

doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv

installTargets =
if stripped
then "install-strip"
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/gcc/6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ stdenv.mkDerivation ({
buildFlags =
optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");

doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv

installTargets =
if stripped
then "install-strip"
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/gcc/7/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ stdenv.mkDerivation ({
buildFlags =
optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");

doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv

installTargets =
if stripped
then "install-strip"
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/ghc/8.2.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ stdenv.mkDerivation rec {
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";

checkTarget = "test";
doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."

# zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
# treat that as a unary `{x,y,z,..}` repetition.
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/openjdk/8.nix
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ let

buildFlags = [ "all" ];

doCheck = false; # fails with "No rule to make target 'y'."

installPhase = ''
mkdir -p $out/lib/openjdk $out/share $jre/lib/openjdk
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/interpreters/guile/1.8.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ stdenv.mkDerivation rec {
# This is fixed here:
# <http://git.savannah.gnu.org/cgit/guile.git/commit/?h=branch_release-1-8&id=a0aa1e5b69d6ef0311aeea8e4b9a94eae18a1aaf>.
doCheck = false;
doInstallCheck = doCheck;

setupHook = ./setup-hook.sh;

Expand Down
1 change: 1 addition & 0 deletions pkgs/development/interpreters/guile/2.0.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
# make check doesn't work on darwin
# On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
doCheck = false;
doInstallCheck = doCheck;

setupHook = ./setup-hook-2.0.sh;

Expand Down
1 change: 1 addition & 0 deletions pkgs/development/interpreters/guile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
# make check doesn't work on darwin
# On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
doCheck = false;
doInstallCheck = doCheck;

setupHook = ./setup-hook-2.2.sh;

Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/perl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ let

passthru.libPrefix = "lib/perl5/site_perl";

doCheck = false; # some tests fail, expensive

# TODO: it seems like absolute paths to some coreutils is required.
postInstall =
''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/python/cpython/2.7/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ in stdenv.mkDerivation {

enableParallelBuilding = true;

doCheck = false; # expensive, and fails

meta = {
homepage = http://python.org;
description = "A high-level dynamically-typed programming language";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/python/cpython/3.4/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ in stdenv.mkDerivation {

enableParallelBuilding = true;

doCheck = false; # expensive, and fails

meta = {
homepage = http://python.org;
description = "A high-level dynamically-typed programming language";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/python/cpython/3.5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ in stdenv.mkDerivation {

enableParallelBuilding = true;

doCheck = false; # expensive, and fails

meta = {
homepage = http://python.org;
description = "A high-level dynamically-typed programming language";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/python/cpython/3.6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ in stdenv.mkDerivation {

enableParallelBuilding = true;

doCheck = false; # expensive, and fails

meta = {
homepage = http://python.org;
description = "A high-level dynamically-typed programming language";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/ruby/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ let
++ op (stdenv.hostPlatform != stdenv.buildPlatform)
"--with-baseruby=${buildRuby}";

doCheck = false; # expensive, fails

preInstall = ''
# Ruby installs gems here itself now.
mkdir -pv "$out/${passthru.gemPath}"
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/appstream-glib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
"-Ddep11=false"
];

doCheck = false; # fails at least 1 test

postInstall = ''
moveToOutput "share/installed-tests" "$installedTests"
'';
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/at-spi2-atk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
buildInputs = [ python popt atk libX11 libICE xorg.libXtst libXi
dbus-glib at-spi2-core libSM ];

doCheck = false; # needs dbus daemon

meta = with stdenv.lib; {
platforms = platforms.unix;
};
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/at-spi2-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
# ToDo: on non-NixOS we create a symlink from there?
configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";

doCheck = false; # needs dbus daemon

meta = with stdenv.lib; {
platforms = platforms.unix;
};
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/cairo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ in stdenv.mkDerivation rec {

enableParallelBuilding = true;

doCheck = false; # fails

postInstall = stdenv.lib.optionalString stdenv.isDarwin glib.flattenInclude;

meta = with stdenv.lib; {
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/celt/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
buildInputs = []
++ stdenv.lib.optional liboggSupport libogg;

doCheck = false; # fails

meta = with stdenv.lib; {
description = "Ultra-low delay audio codec";
homepage = http://www.celt-codec.org/;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/ctpp2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
sed -ie 's/<stdlib.h>/<stdlib.h>\n#include <unistd.h>/' src/CTPP2FileSourceLoader.cpp
'';

doCheck = false; # fails

meta = {
description = "A high performance templating engine";
homepage = http://ctpp.havoc.ru;
Expand Down
8 changes: 5 additions & 3 deletions pkgs/development/libraries/eigen/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,21 @@ let
in
stdenv.mkDerivation {
name = "eigen-${version}";

src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
name = "eigen-${version}.tar.gz";
sha256 = "00l52y7m276gh8wjkqqcxz6x687azrm7a70s3iraxnpy9bxa9y04";
};

nativeBuildInputs = [ cmake ];

doCheck = false; # a couple of tests fail with "Child aborted"

postInstall = ''
sed -e '/Cflags:/s@''${prefix}/@@' -i "$out"/share/pkgconfig/eigen3.pc
'';

meta = with stdenv.lib; {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/enchant/2.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ in stdenv.mkDerivation rec {
buildInputs = [ glib hunspell ];
propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file

doCheck = false; # fails to compile with with "UnitTest++.h: No such file or directory"

meta = with stdenv.lib; {
description = "Generic spell checking library";
homepage = https://abiword.github.io/enchant/;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/epoxy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ stdenv.mkDerivation rec {

NIX_CFLAGS_COMPILE = ''-DLIBGL_PATH="${getLib libGL}/lib"'';

doCheck = false; # needs X11

meta = {
description = "A library for handling OpenGL function pointer management";
homepage = https://github.com/anholt/libepoxy;
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/libraries/ffmpeg/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,10 @@ stdenv.mkDerivation rec {
++ optional vdpauSupport libvdpau
++ optional sdlSupport (if reqMin "3.2" then SDL2 else SDL);


enableParallelBuilding = true;

doCheck = false; # fails

postFixup = ''
moveToOutput bin "$bin"
moveToOutput share/ffmpeg/examples "$doc"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/gdk-pixbuf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
'';

# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
inherit (doCheck);
inherit doCheck;

passthru = {
updateScript = gnome3.updateScript {
Expand Down
Loading

0 comments on commit 7438083

Please sign in to comment.