[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/12: tests: Check the effect of '--without-tests' on implicit inputs.
From: |
guix-commits |
Subject: |
02/12: tests: Check the effect of '--without-tests' on implicit inputs. |
Date: |
Mon, 21 Dec 2020 11:48:31 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 527551287011888c2ba13fe92e636300ce625430
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 21 12:06:11 2020 +0100
tests: Check the effect of '--without-tests' on implicit inputs.
* tests/transformations.scm ("options->transformation, without-tests"):
Ensure TAR has #:tests? #f.
---
tests/transformations.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/transformations.scm b/tests/transformations.scm
index 07ed8b1..2d33bed 100644
--- a/tests/transformations.scm
+++ b/tests/transformations.scm
@@ -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)
- branch master updated (5ecc0b1 -> 0127e68), guix-commits, 2020/12/21
- 04/12: gnu: Add μCsim., guix-commits, 2020/12/21
- 01/12: tests: Fix malformed JSON., guix-commits, 2020/12/21
- 08/12: gnu: sdcc: Revise synopsis and description., guix-commits, 2020/12/21
- 03/12: gnu: gnome-builder: Disable jedi plugin., guix-commits, 2020/12/21
- 02/12: tests: Check the effect of '--without-tests' on implicit inputs.,
guix-commits <=
- 10/12: gnu: sdcc: Expand comment regarding GPUTILS and PIC ports., guix-commits, 2020/12/21
- 07/12: gnu: sdcc: Specify complete set of licenses., guix-commits, 2020/12/21
- 09/12: gnu: sdcc: Correct name of phase., guix-commits, 2020/12/21
- 05/12: gnu: sdcc: Remove bundled μCsim., guix-commits, 2020/12/21
- 12/12: gnu: httpstat: Update to 1.3.0., guix-commits, 2020/12/21
- 06/12: gnu: sdcc: Move to embedded.scm., guix-commits, 2020/12/21
- 11/12: gnu: sdcc: Update to 4.0.0., guix-commits, 2020/12/21