diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-08-15 10:15:45 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-08-15 10:16:38 +0300 |
commit | 3b60f6ffd823051df796259b91a528c7355c4d84 (patch) | |
tree | eb6d3d76b3f33c7c30e3834926b05424520f61f1 /gnu | |
parent | 079b117a71f87109cd5642fcf87aa8893628fc1f (diff) | |
download | guix-3b60f6ffd823051df796259b91a528c7355c4d84.tar.gz guix-3b60f6ffd823051df796259b91a528c7355c4d84.zip |
gnu: exiv2: Enable tests.
* gnu/packages/image.scm (exiv2)[arguments]: Don't skip tests. Add
test-target, configure-flags to enable tests.
[native-inputs]: Add googletest, python.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/image.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 92f8783fb1..bbcf7d8aad 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net> ;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org> ;;; Copyright © 2016, 2017, 2018, 2020 Leo Famulari <leo@famulari.name> -;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2016, 2017, 2020 Arun Isaac <arunisaac@systemreboot.net> @@ -1351,10 +1351,15 @@ channels.") (sha256 (base32 "0klhxkxvkzzzcqpzv8jb56pykq0gyhb6rk9vc2kzjahngjx6sdl4")))) (build-system cmake-build-system) - (arguments '(#:tests? #f)) ; no test suite + (arguments + '(#:test-target "tests" + #:configure-flags (list "-DEXIV2_BUILD_UNIT_TESTS=ON"))) (propagated-inputs `(("expat" ,expat) ("zlib" ,zlib))) + (native-inputs + `(("googletest" ,googletest) + ("python" ,python))) (home-page "https://www.exiv2.org/") (synopsis "Library and command-line utility to manage image metadata") (description |