diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-17 10:45:12 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-20 20:40:01 +0200 |
| commit | caa5c41b682e0f6324fd307ca1c48b1aa6d74da7 (patch) | |
| tree | ee7bd4ad2a14ef98abece7996662a03bc5e14ccf /gnu | |
| parent | 3ba49ab322c68095556033322e1258d5aff5b76c (diff) | |
gnu: ruby-qed: Enable tests.
* gnu/packages/ruby.scm (ruby-qed) [phases] {check}: Respect #:tests?
argument and enable test suite.
[native-inputs]: Add ruby-ae-bootsrap.
(ruby-ae-bootsrap): New variable.
Change-Id: I4f6018127e53e86dc8541e54a0a855c32428badd
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby.scm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 341c6ef1a65..de841e26eb9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12349,13 +12349,14 @@ make use of.") "03h4lmlxpcya8j7s2cnyscqlx8v3xl1xgsw5y1wk1scxcgz2vbmr")))) (build-system ruby-build-system) (arguments - ;; Disable testing to break the cycle qed, ansi, qed, among others. - ;; Instead simply test that the executable runs using --copyright. `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "ruby" "-Ilib" "bin/qed" "--copyright")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "ruby" "-Ilib" "bin/qed"))))))) + (native-inputs + (list ruby-ae-bootstrap)) (propagated-inputs (list ruby-ansi ruby-brass)) (synopsis "Test framework utilizing literate programming techniques") @@ -12481,6 +12482,15 @@ for reuse by other test frameworks.") (home-page "https://rubyworks.github.io/ae/") (license license:bsd-2))) +(define-public ruby-ae-bootstrap + (hidden-package + (package/inherit ruby-ae + (arguments + (substitute-keyword-arguments + (package-arguments ruby-ae) + ((#:tests? _ #t) #f))) + (native-inputs '())))) + (define-public ruby-lemon (package (name "ruby-lemon") |
