doc: Explain how to run a subset of the tests.

* doc/guix.texi (Running the Test Suite): Explain 'TESTS'.
This commit is contained in:
Ludovic Courtès 2016-01-18 10:38:59 +01:00
parent 27a2e48337
commit a887fd8d48
1 changed files with 7 additions and 0 deletions

View File

@ -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 that is created for test purposes will already have various things in
cache. 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 Upon failure, please email @email{bug-guix@@gnu.org} and attach the
@file{test-suite.log} file. When @file{tests/@var{something}.scm} @file{test-suite.log} file. When @file{tests/@var{something}.scm}
fails, please also attach the @file{@var{something}.log} file available fails, please also attach the @file{@var{something}.log} file available