guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: exiv2: Enable tests.


From: guix-commits
Subject: 02/02: gnu: exiv2: Enable tests.
Date: Sun, 15 Aug 2021 03:18:57 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 3b60f6ffd823051df796259b91a528c7355c4d84
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 15 10:15:45 2021 +0300

    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(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 92f8783..bbcf7d8 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]