Revert "gnu: openjpeg: Enable tests."

This reverts commit 49d38b9a44.
This commit is contained in:
Marius Bakke 2020-12-01 23:04:46 +01:00
parent f4450e8ca9
commit 6af3045f66
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -824,25 +824,8 @@ (define-public openjpeg
(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)