From 3b60f6ffd823051df796259b91a528c7355c4d84 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 15 Aug 2021 10:15:45 +0300 Subject: 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. --- gnu/packages/image.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu/packages/image.scm') 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 ;;; Copyright © 2014, 2017 John Darrington ;;; Copyright © 2016, 2017, 2018, 2020 Leo Famulari -;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner +;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice ;;; Copyright © 2016 Eric Bavier ;;; Copyright © 2016, 2017, 2020 Arun Isaac @@ -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 -- cgit 1.4.1