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
|
## InstallCheck
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
installCheckTarget = "test";
|
installCheckTarget = "test";
|
||||||
|
@ -135,6 +135,11 @@ let
|
|||||||
++ op (stdenv.hostPlatform != stdenv.buildPlatform)
|
++ op (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||||
"--with-baseruby=${buildRuby}";
|
"--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 = ''
|
preInstall = ''
|
||||||
# Ruby installs gems here itself now.
|
# Ruby installs gems here itself now.
|
||||||
mkdir -pv "$out/${passthru.gemPath}"
|
mkdir -pv "$out/${passthru.gemPath}"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
|
, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp
|
||||||
, gnomeSupport ? false, gnome, makeWrapper
|
, gnomeSupport ? false, gnome, makeWrapper
|
||||||
, libimobiledevice, libbluray, libcdio-paranoia, libnfs, openssh
|
, libimobiledevice, libbluray, libcdio-paranoia, libnfs, openssh
|
||||||
, libsecret, libgdata
|
, libsecret, libgdata, python3
|
||||||
# Remove when switching back to meson
|
# Remove when switching back to meson
|
||||||
, autoreconfHook, lzma, bzip2
|
, autoreconfHook, lzma, bzip2
|
||||||
}:
|
}:
|
||||||
@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4";
|
sha256 = "1xq105596sk9yram5a143b369wpaiiwc9gz86n0j1kfr7nipkqn4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs test test-driver
|
||||||
|
'';
|
||||||
|
|
||||||
# Uncomment when switching back to meson
|
# Uncomment when switching back to meson
|
||||||
# postPatch = ''
|
# postPatch = ''
|
||||||
# chmod +x meson_post_install.py # patchShebangs requires executable file
|
# chmod +x meson_post_install.py # patchShebangs requires executable file
|
||||||
@ -73,6 +77,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
checkInputs = [ python3 ];
|
||||||
|
doCheck = false; # fails with "ModuleNotFoundError: No module named 'gi'"
|
||||||
|
doInstallCheck = doCheck;
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
for f in $out/libexec/*; do
|
for f in $out/libexec/*; do
|
||||||
wrapProgram $f \
|
wrapProgram $f \
|
||||||
|
@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./bootstrap.patch ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.openexr.com/;
|
homepage = http://www.openexr.com/;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# The tests fail on darwin because of install_name if they run
|
# The tests fail on darwin because of install_name if they run
|
||||||
# before the frameworks are installed.
|
# before the frameworks are installed.
|
||||||
|
doCheck = false;
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckTarget = "check";
|
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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "rasqal-0.9.33";
|
name = "rasqal-0.9.33";
|
||||||
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = "rm -rvf $out/share/gtk-doc";
|
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 = {
|
meta = {
|
||||||
description = "Library that handles Resource Description Framework (RDF)";
|
description = "Library that handles Resource Description Framework (RDF)";
|
||||||
homepage = http://librdf.org/rasqal;
|
homepage = http://librdf.org/rasqal;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, boost }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.3.1";
|
version = "1.3.1";
|
||||||
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
|
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ boost ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit version;
|
inherit version;
|
||||||
homepage = https://gitlab.com/mdds/mdds;
|
homepage = https://gitlab.com/mdds/mdds;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libxml2, pkgconfig
|
{ stdenv, fetchurl, libxml2, pkgconfig, perl
|
||||||
, compressionSupport ? true, zlib ? null
|
, compressionSupport ? true, zlib ? null
|
||||||
, sslSupport ? true, openssl ? null
|
, sslSupport ? true, openssl ? null
|
||||||
, static ? false
|
, static ? false
|
||||||
@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
passthru = {inherit compressionSupport sslSupport;};
|
passthru = {inherit compressionSupport sslSupport;};
|
||||||
|
|
||||||
|
checkInputs = [ perl ];
|
||||||
|
doCheck = false; # fails, needs the net
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An HTTP and WebDAV client library";
|
description = "An HTTP and WebDAV client library";
|
||||||
homepage = http://www.webdav.org/neon/;
|
homepage = http://www.webdav.org/neon/;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libxml2, pkgconfig
|
{ stdenv, fetchurl, libxml2, pkgconfig, perl
|
||||||
, compressionSupport ? true, zlib ? null
|
, compressionSupport ? true, zlib ? null
|
||||||
, sslSupport ? true, openssl ? null
|
, sslSupport ? true, openssl ? null
|
||||||
, static ? false
|
, static ? false
|
||||||
@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
passthru = {inherit compressionSupport sslSupport;};
|
passthru = {inherit compressionSupport sslSupport;};
|
||||||
|
|
||||||
|
checkInputs = [ perl ];
|
||||||
|
doCheck = false; # fails, needs the net
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An HTTP and WebDAV client library";
|
description = "An HTTP and WebDAV client library";
|
||||||
homepage = http://www.webdav.org/neon/;
|
homepage = http://www.webdav.org/neon/;
|
||||||
|
@ -11058,15 +11058,9 @@ with pkgs;
|
|||||||
|
|
||||||
neardal = callPackage ../development/libraries/neardal { };
|
neardal = callPackage ../development/libraries/neardal { };
|
||||||
|
|
||||||
neon = callPackage ../development/libraries/neon {
|
neon = callPackage ../development/libraries/neon { };
|
||||||
compressionSupport = true;
|
|
||||||
sslSupport = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
neon_0_29 = callPackage ../development/libraries/neon/0.29.nix {
|
neon_0_29 = callPackage ../development/libraries/neon/0.29.nix { };
|
||||||
compressionSupport = true;
|
|
||||||
sslSupport = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
nettle = callPackage ../development/libraries/nettle { };
|
nettle = callPackage ../development/libraries/nettle { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user