diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-10-07 14:24:05 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-10-08 11:19:11 +0300 |
commit | d92bd679951d1dfc0bc2ab8c7c84672aa286711c (patch) | |
tree | e83f54ae9e755f95e66640bb2d781943c10cbc33 | |
parent | 28f0a15be2d9ba13236d65a2a68fd0ebbfc59b11 (diff) |
gnu: julia-nnlib: Enable tests.
* gnu/packages/julia-xyz.scm (julia-nnlib)[arguments]: Don't skip tests.
Rename drop-cuda-support phase to skip-cuda-tests and remove extra call
to cuda library.
-rw-r--r-- | gnu/packages/julia-xyz.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 3009f46262..ff0977a41e 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -2840,13 +2840,13 @@ interface to interact with these types.") (base32 "16vn5w5274kcywh1xp0zqjk5q10xrk125aznz5av6wifwrvghk8s")))) (build-system julia-build-system) (arguments - `(#:tests? #f ; Test suite not updated for ChainRulesTestUtils-1.0. - #:phases + `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'drop-cuda-support + (add-after 'unpack 'skip-cuda-tests (lambda _ (substitute* "test/runtests.jl" - (("using CUDA") "")) + (("using CUDA") "") + (("&& CUDA\\.functional\\(\\)") "")) (setenv "NNLIB_TEST_CUDA" "false")))))) (propagated-inputs `(("julia-adapt" ,julia-adapt) |