From e371a02b6c58dc3f5a99104229dc3143114abd4e Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Sun, 1 Dec 2019 13:23:54 +0100 Subject: [PATCH] sage: disable test timeout I already did that once in 359bf7f1e31ff5615974266e55993aff0a52ddf0. That change mysteriously got lost somehow (presumably in some merge commit). Nix has its own timeout settings, so there is no risk in running forever. At the same time, some tests can exceed the default timeout (30minutes per file for --long tests) when run on many weak cores (like the aarch64 community builder or some hydra builders). --- pkgs/applications/science/math/sage/sage-tests.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/math/sage/sage-tests.nix b/pkgs/applications/science/math/sage/sage-tests.nix index 93ec1e33cf69..451edb8f085e 100644 --- a/pkgs/applications/science/math/sage/sage-tests.nix +++ b/pkgs/applications/science/math/sage/sage-tests.nix @@ -56,6 +56,6 @@ stdenv.mkDerivation { export GLIBC_TUNABLES=glibc.malloc.arena_max=4 echo "Running sage tests with arguments ${timeSpecifier} ${patienceSpecifier} ${testArgs}" - "sage" -t --nthreads "$NIX_BUILD_CORES" --optional=sage ${timeSpecifier} ${patienceSpecifier} ${testArgs} + "sage" -t --timeout=0 --nthreads "$NIX_BUILD_CORES" --optional=sage ${timeSpecifier} ${patienceSpecifier} ${testArgs} ''; }