diff options
-rw-r--r-- | gnu/packages/enlightenment.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index 347b7ea9c6..bfb93d9534 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -235,11 +235,12 @@ removable devices or support for multimedia.") ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 (lambda _ (setenv "HOME" "/tmp"))) (replace 'check - (lambda _ - (with-directory-excursion - (string-append "../" ,name "-" ,version "/tests") - (invoke "sh" "run_tests.sh" "--verbose" - "-t" "../../build/src/bin/tytest")))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion + (string-append "../" ,name "-" ,version "/tests") + (invoke "sh" "run_tests.sh" "--verbose" + "-t" "../../build/src/bin/tytest"))))) (add-after 'install 'remove-test-binary (lambda* (#:key outputs #:allow-other-keys) ;; This file is not meant to be installed. |