summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2018-04-24 11:16:55 +0200
committerTimo Kaufmann <timokau@zoho.com>2018-04-24 11:16:55 +0200
commitb707c91814134cb8002820e7d82ca7129b60ee45 (patch)
tree2c4b06e59d9d4a779d6bb1bdfa6842383e0da8ea /pkgs/applications/science/math
parent62529a693b137c0ea7c1805a6f83205b408fd748 (diff)
downloadnixlib-b707c91814134cb8002820e7d82ca7129b60ee45.tar
nixlib-b707c91814134cb8002820e7d82ca7129b60ee45.tar.gz
nixlib-b707c91814134cb8002820e7d82ca7129b60ee45.tar.bz2
nixlib-b707c91814134cb8002820e7d82ca7129b60ee45.tar.lz
nixlib-b707c91814134cb8002820e7d82ca7129b60ee45.tar.xz
nixlib-b707c91814134cb8002820e7d82ca7129b60ee45.tar.zst
nixlib-b707c91814134cb8002820e7d82ca7129b60ee45.zip
maxima-ecl: Disable failing tests
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/maxima/default.nix4
-rw-r--r--pkgs/applications/science/math/maxima/known-ecl-failures.patch21
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/maxima/default.nix b/pkgs/applications/science/math/maxima/default.nix
index c3eeddef6694..892b9d9520e3 100644
--- a/pkgs/applications/science/math/maxima/default.nix
+++ b/pkgs/applications/science/math/maxima/default.nix
@@ -69,6 +69,10 @@ stdenv.mkDerivation ({
       url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/maxima.system.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
       sha256 = "18zafig8vflhkr80jq2ivk46k92dkszqlyq8cfmj0b2vcfjwwbar";
     })
+    # There are some transient test failures. I hope this disables all those tests.
+    # If those test failures ever happen in the non-ecl version, that should be
+    # reportetd upstream.
+    ./known-ecl-failures.patch
   ];
 
   # Failures in the regression test suite won't abort the build process. We run
diff --git a/pkgs/applications/science/math/maxima/known-ecl-failures.patch b/pkgs/applications/science/math/maxima/known-ecl-failures.patch
new file mode 100644
index 000000000000..c32912b316e2
--- /dev/null
+++ b/pkgs/applications/science/math/maxima/known-ecl-failures.patch
@@ -0,0 +1,21 @@
+diff --git a/tests/testsuite.lisp b/tests/testsuite.lisp
+index 45a81f4..36c35b8 100644
+--- a/tests/testsuite.lisp
++++ b/tests/testsuite.lisp
+@@ -25,13 +25,14 @@
+         ((mlist simp) "rtest10" 24 25)
+         ((mlist) "rtest11" #+(or gcl cmucl ccl64) 158 #+(or gcl cmucl ccl64) 174 #+gcl 175)
+         "rtest13" "rtest13s"
+-        "rtest14"
++        ((mlist simp) "rtest14" 250 307 310 312 319) ;; fails with ecl
+         "rtest15"
+ 	;; ccl versions 1.11 and earlier fail test 50.  Mark it as a
+ 	;; known failure.  Presumably 1.12 will have this fixed.
+         ((mlist simp) "rtest16" #+ccl 50)
+         "rtestode" "rtestode_zp"
+-        "rtest3" "rtest8"
++        "rtest3"
++        ((mlist simp) "rtest8" 104) ;; fails with ecl
+         ((mlist simp) "rtest12" 76 78)
+         "rexamples"
+         ((mlist simp) "rtesthyp" 105 112 113 123 124 128)