git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #51191 from timokau/sage-fixes

sage: fix test timeout and downgraded R tests

commitaa053197deb846e9cfedb6f7e80330efd3e4c54b authorTimo Kaufmann <timokau@zoho.com> dateWed 28 Nov 2018, 23:10 (8 years ago) parent6a0f0ccd6376bc
2 files changed+2−1
pkgs/applications/science/math/sage/default.nix+1 pkgs/applications/science/math/sage/sage-tests.nix+1−1
pkgs/applications/science/math/sage/default.nix+1
@@ -129,6 +129,7 @@ let
129129 # https://trac.sagemath.org/ticket/25674
130130 R = pkgs.R.overrideAttrs (attrs: rec {
131131 name = "R-3.4.4";
132+ doCheck = false;
132133 src = fetchurl {
133134 url = "http://cran.r-project.org/src/base/R-3/${name}.tar.gz";
134135 sha256 = "0dq3jsnwsb5j3fhl0wi3p5ycv8avf8s5j1y4ap3d2mkjmcppvsdk";
pkgs/applications/science/math/sage/sage-tests.nix+1−1
@@ -46,6 +46,6 @@ stdenv.mkDerivation rec {
4646 mkdir -p "$HOME"
4747
4848 # "--long" tests are in the order of 1h, without "--long" its 1/2h
49− "sage" -t --nthreads "$NIX_BUILD_CORES" --optional=sage ${patienceSpecifier} ${testArgs}
49+ "sage" -t --timeout=0 --nthreads "$NIX_BUILD_CORES" --optional=sage ${patienceSpecifier} ${testArgs}
5050 '';
5151}