mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
tests: Check the effect of '--without-tests' on implicit inputs.
* tests/transformations.scm ("options->transformation, without-tests"): Ensure TAR has #:tests? #f.
This commit is contained in:
parent
9608f4003d
commit
5275512870
1 changed files with 3 additions and 4 deletions
|
@ -368,10 +368,9 @@ (define (package-name* obj)
|
|||
(let ((new (t p)))
|
||||
(match (bag-direct-inputs (package->bag new))
|
||||
((("dep" dep) ("tar" tar) _ ...)
|
||||
;; TODO: Check whether TAR has #:tests? #f when transformations
|
||||
;; apply to implicit inputs.
|
||||
(equal? (package-arguments dep)
|
||||
'(#:tests? #f)))))))
|
||||
(and (equal? (package-arguments dep) '(#:tests? #f))
|
||||
(match (memq #:tests? (package-arguments tar))
|
||||
((#:tests? #f _ ...) #t))))))))
|
||||
|
||||
(test-end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue