Merge pull request #43624 from oxij/tree/fix-or-disable-tests
treewide: either fix or disable tests
This commit is contained in:
commit
c4de32e192
@ -238,6 +238,7 @@ EOF
|
||||
|
||||
## InstallCheck
|
||||
|
||||
doCheck = false;
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckTarget = "test";
|
||||
|
@ -135,6 +135,11 @@ let
|
||||
++ op (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
"--with-baseruby=${buildRuby}";
|
||||
|
||||
# fails with "16993 tests, 2229489 assertions, 105 failures, 14 errors, 89 skips"
|
||||
# mostly TZ- and patch-related tests
|
||||
# TZ- failures are caused by nix sandboxing, I didn't investigate others
|
||||
doCheck = false;
|
||||
|
||||
preInstall = ''
|
||||
# Ruby installs gems here itself now.
|
||||
mkdir -pv "$out/${passthru.gemPath}"
|
||||
|
@ -4,7 +4,7 @@
|
||||
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
|
||||
, gnomeSupport ? false, gnome, makeWrapper
|
||||
, libimobiledevice, libbluray, libcdio-paranoia, libnfs, openssh
|
||||
, libsecret, libgdata
|
||||
, libsecret, libgdata, python3
|
||||
# Remove when switching back to meson
|
||||
, autoreconfHook, lzma, bzip2
|
||||
}:
|
||||
@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs test test-driver
|
||||
'';
|
||||
|
||||
# Uncomment when switching back to meson
|
||||
# postPatch = ''
|
||||
# chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||
@ -73,6 +77,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
checkInputs = [ python3 ];
|
||||
doCheck = false; # fails with "ModuleNotFoundError: No module named 'gi'"
|
||||
doInstallCheck = doCheck;
|
||||
|
||||
preFixup = ''
|
||||
for f in $out/libexec/*; do
|
||||
wrapProgram $f \
|
||||
|
@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./bootstrap.patch ];
|
||||
|
||||
# fails 1 out of 1 tests with
|
||||
# "lt-ImathTest: testBoxAlgo.cpp:892: void {anonymous}::boxMatrixTransform(): Assertion `b21 == b2' failed"
|
||||
# at least on i686. spooky!
|
||||
doCheck = stdenv.isx86_64;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.openexr.com/;
|
||||
license = licenses.bsd3;
|
||||
|
@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# The tests fail on darwin because of install_name if they run
|
||||
# before the frameworks are installed.
|
||||
doCheck = false;
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = "check";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, librdf_raptor2, gmp, pkgconfig, pcre, libxml2 }:
|
||||
{ stdenv, fetchurl, librdf_raptor2, gmp, pkgconfig, pcre, libxml2, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "rasqal-0.9.33";
|
||||
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = "rm -rvf $out/share/gtk-doc";
|
||||
|
||||
checkInputs = [ perl ];
|
||||
doCheck = false; # fails with "No testsuite plan file sparql-query-plan.ttl could be created in build/..."
|
||||
doInstallCheck = false; # fails with "rasqal-config does not support (--help|--version)"
|
||||
|
||||
meta = {
|
||||
description = "Library that handles Resource Description Framework (RDF)";
|
||||
homepage = http://librdf.org/rasqal;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.3.1";
|
||||
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
||||
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
|
||||
'';
|
||||
|
||||
checkInputs = [ boost ];
|
||||
|
||||
meta = {
|
||||
inherit version;
|
||||
homepage = https://gitlab.com/mdds/mdds;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libxml2, pkgconfig
|
||||
{ stdenv, fetchurl, libxml2, pkgconfig, perl
|
||||
, compressionSupport ? true, zlib ? null
|
||||
, sslSupport ? true, openssl ? null
|
||||
, static ? false
|
||||
@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
passthru = {inherit compressionSupport sslSupport;};
|
||||
|
||||
checkInputs = [ perl ];
|
||||
doCheck = false; # fails, needs the net
|
||||
|
||||
meta = {
|
||||
description = "An HTTP and WebDAV client library";
|
||||
homepage = http://www.webdav.org/neon/;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libxml2, pkgconfig
|
||||
{ stdenv, fetchurl, libxml2, pkgconfig, perl
|
||||
, compressionSupport ? true, zlib ? null
|
||||
, sslSupport ? true, openssl ? null
|
||||
, static ? false
|
||||
@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
passthru = {inherit compressionSupport sslSupport;};
|
||||
|
||||
checkInputs = [ perl ];
|
||||
doCheck = false; # fails, needs the net
|
||||
|
||||
meta = {
|
||||
description = "An HTTP and WebDAV client library";
|
||||
homepage = http://www.webdav.org/neon/;
|
||||
|
@ -11058,15 +11058,9 @@ with pkgs;
|
||||
|
||||
neardal = callPackage ../development/libraries/neardal { };
|
||||
|
||||
neon = callPackage ../development/libraries/neon {
|
||||
compressionSupport = true;
|
||||
sslSupport = true;
|
||||
};
|
||||
neon = callPackage ../development/libraries/neon { };
|
||||
|
||||
neon_0_29 = callPackage ../development/libraries/neon/0.29.nix {
|
||||
compressionSupport = true;
|
||||
sslSupport = true;
|
||||
};
|
||||
neon_0_29 = callPackage ../development/libraries/neon/0.29.nix { };
|
||||
|
||||
nettle = callPackage ../development/libraries/nettle { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user