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
@ -368,10 +368,9 @@
|
||||
(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…
x
Reference in New Issue
Block a user