From 6f04c0b70290c97f2519d7276f5babf407df80e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 27 Sep 2020 23:23:42 +0200 Subject: [PATCH] news: Add news entry for '--without-tests'. * etc/news.scm: Add entry. --- etc/news.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/etc/news.scm b/etc/news.scm index 23774827cd..1bffb41c4d 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -35,6 +35,23 @@ @end example Run @command{info \"(guix) Package Transformation Options\"} for more +info."))) + + (entry (commit "f458cfbcc54ed87b1a87dd9e150ea276f17eab74") + (title (en "New @option{--without-tests} transformation option")) + (body + (en "The new @option{--without-tests} package transformation option +instructs Guix to skip the test suite of a given package. In the example +below, @code{guile-gcrypt} is built using a variant of @code{automake} itself +built without running its (lengthy) test suite: + +@example +guix build guile-gcrypt --without-tests=automake +@end example + +This is primarily useful as a way to speed up development cycles, or to work +around flaky test suites---skipping tests can hide real issues, so use with +care. Run @command{info \"(guix) Package Transformation Options\"} for more info."))) (entry (commit "a98712785e0b042a290420fd74e5a4a5da4fc68f")