diff options
-rw-r--r-- | gnu/packages/check.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 550dc44d2d..0ffd25e898 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2360,8 +2360,9 @@ programs, something like CSmith, a random generator of C programs.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "python" "lit.py" "tests")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "lit.py" "tests"))))))) (native-inputs (list llvm-14)) (home-page "https://llvm.org/") |