diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-05-09 14:35:57 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-06-06 18:49:12 +0200 |
commit | 82b0e27de109b38ed44f67434a96460c4a7f9217 (patch) | |
tree | 8e4a856ded82da528047fa7ef446fcbf4cb28e4d /gnu | |
parent | e2ad110f4c2a54cecaa8fed3792ba2dbe5fa2af4 (diff) |
lint: tests-true: Check if tests are enabled when cross-compiling.
* guix/lint.scm (check-tests-true): New linter.
(%local-checkers)[tests-true]: Add it.
* tests/lint.scm ("tests-true: #:tests? must not be set to #t")
("tests-true: absent #:tests? is acceptable")
("tests-true: #:tests? #f is acceptable")
("tests-true: #:tests? #t acceptable when compiling natively"): Test it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions