Maxime Devos
5532371a3a
lint: Verify if #:tests? is respected in the 'check' phase.
...
There have been a few patches to the mailing list lately
not respecting this, and this linter detects 630 package
definitions that could be modified to support the --without-tests
package transformation.
* guix/lint.scm
(check-optional-tests): New linter.
(%local-checkers)[optional-tests]: Add it.
* tests/lint.scm
(package-with-phase-changes): New procedure.
("optional-tests: no check phase")
("optional-tests: check hase respects #:tests?")
("optional-tests: check phase ignores #:tests?")
("optional-tests: do not crash when #:phases is invalid")
("optional-tests: allow G-exps (no warning)")
("optional-tests: allow G-exps (warning)")
("optional-tests: complicated 'check' phase")
("optional-tests: 'check' phase is not first phase"): New tests.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-06-30 13:53:00 +02:00
..
2021-06-29 12:37:33 +02:00
2019-08-28 00:27:14 +02:00
2020-08-29 16:24:17 +02:00
2020-12-21 18:41:11 +01:00
2020-11-16 11:21:42 +01:00
2019-06-14 21:57:18 +02:00
2020-03-22 16:49:47 +01:00
2021-01-16 11:51:03 +00:00
2020-10-12 18:23:47 +02:00
2020-05-04 09:56:12 +02:00
2020-10-01 12:51:13 +02:00
2020-01-15 18:40:43 +01:00
2020-01-16 23:14:05 +01:00
2021-01-13 22:42:49 +01:00
2020-12-21 17:47:35 +01:00
2019-10-23 16:40:17 +02:00
2021-03-06 11:41:48 +01:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-06-05 22:54:06 +02:00
2020-06-05 22:54:06 +02:00
2021-06-03 13:05:18 +02:00
2021-03-06 11:41:48 +01:00
2021-06-29 14:53:21 -04:00
2020-04-27 23:29:40 +02:00
2021-06-30 13:53:00 +02:00
2020-06-28 23:26:53 +02:00
2020-06-09 00:34:52 +02:00
2020-12-09 22:25:17 +01:00
2021-05-28 23:04:44 +02:00
2021-05-05 00:58:04 -04:00
2021-04-15 03:22:55 -04:00
2020-10-20 16:30:15 +02:00
2019-05-18 12:10:15 +02:00
2020-12-15 17:32:09 +01:00
2020-09-15 14:40:20 +02:00
2020-09-28 21:06:36 -05:00
2021-03-23 23:19:57 -07:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2020-10-05 10:41:59 +02:00
2021-01-19 17:45:38 +01:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2020-09-28 21:06:36 -05:00
2021-01-04 11:51:48 +01:00
2021-02-22 12:07:45 +01:00
2019-05-18 12:23:31 +02:00
2020-12-04 13:12:08 +00:00
2020-09-28 21:06:36 -05:00
2020-10-02 23:28:09 +02:00
2020-09-28 21:06:36 -05:00
2021-04-29 01:22:04 +02:00
2020-09-16 16:04:01 +02:00
2021-04-29 01:22:04 +02:00
2021-06-25 15:12:05 +02:00
2020-12-27 12:06:49 +01:00
2021-05-15 12:14:47 +01:00
2021-04-12 18:42:22 +02:00
2021-06-30 13:53:00 +02:00
2020-12-15 17:32:09 +01:00
2021-01-16 23:30:59 +01:00
2020-08-25 13:45:27 -04:00
2021-05-28 11:36:03 +02:00
2020-09-29 22:53:36 +02:00
2021-06-29 14:53:21 -04:00
2021-02-01 16:07:18 +01:00
2020-04-20 10:57:49 +02:00
2019-12-10 10:49:42 +01:00
2021-06-22 17:55:05 +02:00
2021-05-16 23:28:11 +02:00
2020-07-25 19:11:36 +02:00
2021-04-29 01:22:04 +02:00
2020-05-04 09:56:12 +02:00
2019-06-14 22:09:38 +02:00
2019-07-26 19:19:49 +02:00
2021-01-31 21:49:58 +01:00
2020-12-15 17:32:12 +01:00
2019-04-10 17:09:47 +02:00
2021-06-08 09:25:50 +02:00
2021-04-09 17:46:38 +02:00
2021-01-21 11:22:08 +01:00
2021-02-25 11:29:35 +01:00
2021-03-06 11:41:48 +01:00
2021-03-05 12:49:27 +01:00
2020-03-25 16:02:53 +01:00
2019-06-14 21:57:39 +02:00
2021-02-03 12:41:28 +01:00
2019-05-07 12:18:44 +02:00