summaryrefslogtreecommitdiff
path: root/gnu/packages/check.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r--gnu/packages/check.scm16
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 84dec5974c..9660cff1c7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -587,7 +587,8 @@ PyUnit and others.")
(base32
"0mf55yi8ahpczl9jz2is3dnghfi3g9qz5vch7mx7akqx4gfhhviz"))))
(build-system cmake-build-system)
- (arguments (list #:configure-flags
+ (arguments (list #:tests? #f
+ #:configure-flags
#~(list "-DBUILD_SHARED_LIBS=ON"
"-DSNITCH_DO_TEST=ON"
"-DSNITCH_USE_SYSTEM_DOCTEST=ON")))
@@ -1145,7 +1146,8 @@ package.")
(base32 "1cv55x3amwrvfan9pr8dfnicwr8r6ar3yf6cg9v6nykd6m2v3qsv"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+ `(#:tests? #f
+ #:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
(native-inputs
`(("python" ,python-wrapper)))
(home-page "https://github.com/google/googletest/")
@@ -1355,7 +1357,9 @@ with the @code{klee} package.")
(arguments
(list
#:strip-directories #~(list "bin") ;don't strip LLVM bitcode in /lib
- #:test-target "check"
+ #:modules '((guix build cmake-build-system)
+ ((guix build gnu-build-system) #:prefix gnu:)
+ (guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch
@@ -1371,6 +1375,7 @@ with the @code{klee} package.")
(substitute* "test/lit.cfg"
(("addEnv\\('PWD'\\)" env)
(string-append env "\n" "addEnv('GUIX_PYTHONPATH')")))))
+ (replace 'check (assoc-ref gnu:%standard-phases 'check))
(add-after 'install 'wrap-programs
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -3607,12 +3612,11 @@ tests. The output format is JSON.")
(list)
(list #:configure-flags #~(list "-DTROMPELOEIL_BUILD_TESTS=yes")))
(list
- #:test-target "test/self_test"
#:phases #~(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key tests? test-target #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke test-target))))))))
+ (invoke "test/self_test"))))))))
(native-inputs (list catch2-3))
(home-page "https://github.com/rollbear/trompeloeil")
(synopsis "Header only C++14 mocking framework")