diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-03-22 10:39:26 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-03-22 10:40:35 +0200 |
commit | 66b2fd0d045ecd94ec3b13904f2a09f81d35e6cb (patch) | |
tree | 9057e2b274e71a515b0540f086b0fe507cf937b3 | |
parent | a08d3cba83d189f11446ea5484f6482b1f473230 (diff) | |
download | guix-66b2fd0d045ecd94ec3b13904f2a09f81d35e6cb.tar.gz |
gnu: flatpak: Honor the #:tests? flag.
* gnu/packages/package-management.scm (flatpak)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
-rw-r--r-- | gnu/packages/package-management.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index abd60da798..562d228cf4 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1959,10 +1959,12 @@ cp -r /tmp/locale/*/en_US.*"))) ;; Many tests fail for unknown reasons, so we just run a few basic ;; tests. (replace 'check - (lambda _ - (setenv "HOME" "/tmp") - (invoke "make" "check" - "TESTS=tests/test-basic.sh tests/test-config.sh testcommon")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" "/tmp") + (invoke "make" "check" + "TESTS=tests/test-basic.sh tests/test-config.sh + testcommon"))))))) (native-inputs (list bison dbus ; for dbus-daemon |