summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-01-18 10:38:59 +0100
committerLudovic Courtès <ludo@gnu.org>2016-01-18 17:41:16 +0100
commita887fd8d48efd8cf229f9d0a4800b25066638018 (patch)
tree412065f54ad6f47385ed51899787baa125d596ed
parent27a2e483370f9d08b9724a2c82b1fee9b15ce58a (diff)
downloadguix-a887fd8d48efd8cf229f9d0a4800b25066638018.tar.gz
doc: Explain how to run a subset of the tests.
* doc/guix.texi (Running the Test Suite): Explain 'TESTS'.
-rw-r--r--doc/guix.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index d055ae357f..a7da452fff 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -502,6 +502,13 @@ on a recent machine; subsequent runs will be faster because the store
 that is created for test purposes will already have various things in
 cache.
 
+It is also possible to run a subset of the tests by defining the
+@code{TESTS} makefile variable as in this example:
+
+@example
+make check TESTS="tests/store.scm tests/cpio.scm"
+@end example
+
 Upon failure, please email @email{bug-guix@@gnu.org} and attach the
 @file{test-suite.log} file.  When @file{tests/@var{something}.scm}
 fails, please also attach the @file{@var{something}.log} file available