summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-12-01 23:04:46 +0100
committerMarius Bakke <marius@gnu.org>2020-12-01 23:04:46 +0100
commit6af3045f668efe3f1e6eda30e8f7d42148e238b7 (patch)
treeb7eb3268cdafdfcea8083d38cfa2dbb36fec5e6b
parentf4450e8ca909530ee3432710b82f97e23acc7fef (diff)
downloadguix-6af3045f668efe3f1e6eda30e8f7d42148e238b7.tar.gz
Revert "gnu: openjpeg: Enable tests."
This reverts commit 49d38b9a44d1045133e993f372394f9d3c626a72.
-rw-r--r--gnu/packages/image.scm21
1 files changed, 2 insertions, 19 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 07ddbc7398..750be166c9 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -824,25 +824,8 @@ test suite, including conformance tests (following Rec. ITU-T T.803 | ISO/IEC
         (base32 "1dn98d2dfa1lqyxxmab6rrcv52dyhjr4g7i4xf2w54fqsx14ynrb"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags
-       (list
-        "-DBUILD_STATIC_LIBS=OFF"
-        "-DBUILD_UNIT_TESTS=ON"
-        "-DBUILD_TESTING=ON"
-        (string-append "-DOPJ_DATA_ROOT="
-                       (assoc-ref %build-inputs "openjpeg-data")))
-       #:phases
-       (modify-phases %standard-phases
-         ;; To be re-enabled after upstream fixes the bug,
-         ;; https://github.com/uclouvain/openjpeg/issues/1264
-         (add-after 'unpack 'disable-failing-tests
-           (lambda _
-             (substitute* "tests/CMakeLists.txt"
-               (("add_subdirectory\\(nonregression\\)")
-                ""))
-             #t)))))
-    (native-inputs
-     `(("openjpeg-data" ,openjpeg-data))) ; Files for test-suite
+     '(#:tests? #f           ;TODO: requires a 1.1 GiB data repository
+       #:configure-flags '("-DBUILD_STATIC_LIBS=OFF")))
     (inputs
      `(("lcms" ,lcms)
        ("libpng" ,libpng)