gnu: libdeflate: Use default tests.

* gnu/packages/compression.scm (libdeflate)[arguments]: Adjust
configure-flags to build the test suite. Remove custom 'check phase.
This commit is contained in:
Efraim Flashner 2023-06-04 12:34:40 +03:00
parent cacc0cb6ab
commit d845178050
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7,7 +7,7 @@
;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2017, 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 20162022 Tobias Geerinckx-Rice <me@tobias.gr>
@ -2687,12 +2687,8 @@ (define-public libdeflate
(build-system cmake-build-system)
(arguments
(list #:configure-flags
#~(list "-DLIBDEFLATE_BUILD_STATIC_LIB=NO")
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "../source/scripts/run_tests.sh"))))))
#~(list "-DLIBDEFLATE_BUILD_STATIC_LIB=NO"
"-DLIBDEFLATE_BUILD_TESTS=YES")))
(inputs
(list zlib))
(home-page "https://github.com/ebiggers/libdeflate")