diff options
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r-- | gnu/packages/check.scm | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 84dec5974c..b6c767e3bf 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")) @@ -2770,16 +2775,18 @@ across test runs.") (define-public python-pytest-sugar (package (name "python-pytest-sugar") - (version "0.9.3") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "pytest-sugar" version)) (sha256 - (base32 "1i0hv3h49zvl62jbiyjag84carbrp3zprqzxffdr291nxavvac0n")))) - (build-system python-build-system) + (base32 "02kc4y0ry4y9lp63kjq9p7yvbjijfxn1fcn6wx6c1c7mb0rfh8k4")))) + (build-system pyproject-build-system) (propagated-inputs (list python-packaging python-pytest python-termcolor)) + (native-inputs + (list python-setuptools python-wheel)) (home-page "https://pivotfinland.com/pytest-sugar/") (synopsis "Plugin for pytest that changes the default look and feel") (description @@ -3607,12 +3614,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") |