Loading pkgs/development/libraries/xapian/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -28,8 +28,6 @@ let doCheck = true; env.AUTOMATED_TESTING = true; # https://trac.xapian.org/changeset/8be35f5e1/git patches = lib.optionals stdenv.isDarwin [ ./skip-flaky-darwin-test.patch ]; # the configure script thinks that Darwin has ___exp10 # but it’s not available on my systems (or hydra apparently) postConfigure = lib.optionalString stdenv.isDarwin '' Loading @@ -54,5 +52,5 @@ in { # Don't forget to change the hashes in xapian-omega and # python3Packages.xapian. They inherit the version from this package, and # should always be built with the equivalent xapian version. xapian_1_4 = generic "1.4.22" "sha256-BYhK8AsGcCzkhgV9YqO/vmYGz5Za2g9epXCzKKL6Hqg="; xapian_1_4 = generic "1.4.24" "sha256-7aWubc9rBVOoZ2r2Sx/TBOmYzSD3eQMcyq96uaNzUxo="; } pkgs/development/libraries/xapian/skip-flaky-darwin-test.patchdeleted 100644 → 0 +0 −33 Original line number Diff line number Diff line diff -Naur xapian-core.old/tests/api_db.cc xapian-core.new/tests/api_db.cc --- xapian-core.old/tests/api_db.cc +++ xapian-core.new/tests/api_db.cc @@ -1020,6 +1020,7 @@ // test for keepalives DEFINE_TESTCASE(keepalive1, remote) { + SKIP_TEST("Fails in darwin nix build environment"); Xapian::Database db(get_remote_database("apitest_simpledata", 5000)); /* Test that keep-alives work */ diff -Naur xapian-core.old/tests/api_scalability.cc xapian-core.new/tests/api_scalability.cc --- xapian-core.old/tests/api_scalability.cc +++ xapian-core.new/tests/api_scalability.cc @@ -53,6 +53,7 @@ } DEFINE_TESTCASE(bigoaddvalue1, writable) { + SKIP_TEST("Fails in darwin nix build environment"); // O(n*n) is bad, but O(n*log(n)) is acceptable. test_scalability(bigoaddvalue1_helper, 5000, O_N_LOG_N); return true; diff -Naur xapian-core.old/tests/api_serialise.cc xapian-core.new/tests/api_serialise.cc --- xapian-core.old/tests/api_serialise.cc +++ xapian-core.new/tests/api_serialise.cc @@ -110,6 +110,7 @@ // Test for serialising a document obtained from a database. DEFINE_TESTCASE(serialise_document2, writable) { + SKIP_TEST("Fails in darwin nix build environment"); Xapian::Document origdoc; origdoc.add_term("foo", 2); origdoc.add_posting("foo", 10); pkgs/development/libraries/xapian/tools/omega/default.nix +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz"; hash = "sha256-Z0yXn7kPH0mQ64qQntq4jKSgCUF9/Vqwy6GeAsepVSg="; hash = "sha256-0IdW5PM7GJFsyKJJPTEfHL647UNXvUD6XBdErcCA6/8="; }; buildInputs = [ xapian perl pcre2 zlib libmagic ]; Loading pkgs/development/python-modules/xapian/default.nix +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ buildPythonPackage rec { src = fetchurl { url = "https://oligarchy.co.uk/xapian/${version}/xapian-bindings-${version}.tar.xz"; hash = "sha256-a1RUgzrFKj4ywLs6cpClorUEiNiRjypFJpVX5N6aMeU="; hash = "sha256-UT1XhIgnkZis4TrUl1ENKyIgTV15S2QUPQW3vpdOts8="; }; configureFlags = [ Loading Loading
pkgs/development/libraries/xapian/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -28,8 +28,6 @@ let doCheck = true; env.AUTOMATED_TESTING = true; # https://trac.xapian.org/changeset/8be35f5e1/git patches = lib.optionals stdenv.isDarwin [ ./skip-flaky-darwin-test.patch ]; # the configure script thinks that Darwin has ___exp10 # but it’s not available on my systems (or hydra apparently) postConfigure = lib.optionalString stdenv.isDarwin '' Loading @@ -54,5 +52,5 @@ in { # Don't forget to change the hashes in xapian-omega and # python3Packages.xapian. They inherit the version from this package, and # should always be built with the equivalent xapian version. xapian_1_4 = generic "1.4.22" "sha256-BYhK8AsGcCzkhgV9YqO/vmYGz5Za2g9epXCzKKL6Hqg="; xapian_1_4 = generic "1.4.24" "sha256-7aWubc9rBVOoZ2r2Sx/TBOmYzSD3eQMcyq96uaNzUxo="; }
pkgs/development/libraries/xapian/skip-flaky-darwin-test.patchdeleted 100644 → 0 +0 −33 Original line number Diff line number Diff line diff -Naur xapian-core.old/tests/api_db.cc xapian-core.new/tests/api_db.cc --- xapian-core.old/tests/api_db.cc +++ xapian-core.new/tests/api_db.cc @@ -1020,6 +1020,7 @@ // test for keepalives DEFINE_TESTCASE(keepalive1, remote) { + SKIP_TEST("Fails in darwin nix build environment"); Xapian::Database db(get_remote_database("apitest_simpledata", 5000)); /* Test that keep-alives work */ diff -Naur xapian-core.old/tests/api_scalability.cc xapian-core.new/tests/api_scalability.cc --- xapian-core.old/tests/api_scalability.cc +++ xapian-core.new/tests/api_scalability.cc @@ -53,6 +53,7 @@ } DEFINE_TESTCASE(bigoaddvalue1, writable) { + SKIP_TEST("Fails in darwin nix build environment"); // O(n*n) is bad, but O(n*log(n)) is acceptable. test_scalability(bigoaddvalue1_helper, 5000, O_N_LOG_N); return true; diff -Naur xapian-core.old/tests/api_serialise.cc xapian-core.new/tests/api_serialise.cc --- xapian-core.old/tests/api_serialise.cc +++ xapian-core.new/tests/api_serialise.cc @@ -110,6 +110,7 @@ // Test for serialising a document obtained from a database. DEFINE_TESTCASE(serialise_document2, writable) { + SKIP_TEST("Fails in darwin nix build environment"); Xapian::Document origdoc; origdoc.add_term("foo", 2); origdoc.add_posting("foo", 10);
pkgs/development/libraries/xapian/tools/omega/default.nix +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz"; hash = "sha256-Z0yXn7kPH0mQ64qQntq4jKSgCUF9/Vqwy6GeAsepVSg="; hash = "sha256-0IdW5PM7GJFsyKJJPTEfHL647UNXvUD6XBdErcCA6/8="; }; buildInputs = [ xapian perl pcre2 zlib libmagic ]; Loading
pkgs/development/python-modules/xapian/default.nix +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ buildPythonPackage rec { src = fetchurl { url = "https://oligarchy.co.uk/xapian/${version}/xapian-bindings-${version}.tar.xz"; hash = "sha256-a1RUgzrFKj4ywLs6cpClorUEiNiRjypFJpVX5N6aMeU="; hash = "sha256-UT1XhIgnkZis4TrUl1ENKyIgTV15S2QUPQW3vpdOts8="; }; configureFlags = [ Loading