mirror of
https://github.com/troglobit/finit.git
synced 2026-11-27 20:48:24 +00:00
test: update with info on running a single/few tests
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
11bc87ecc3
commit
f7a1514131
1 file changed
+7
-3
+7
-3
@@ -1,5 +1,5 @@
|
|||||||
Tests
|
Finit Test Suite
|
||||||
=====
|
================
|
||||||
|
|
||||||
Finit comes with a set of tests and a small framework for running them.
|
Finit comes with a set of tests and a small framework for running them.
|
||||||
Contributors are encouraged to write new tests when implementing features, or
|
Contributors are encouraged to write new tests when implementing features, or
|
||||||
@@ -17,7 +17,7 @@ Running tests
|
|||||||
To run the test suite, first [build](../doc/build.md) Finit, e.g:
|
To run the test suite, first [build](../doc/build.md) Finit, e.g:
|
||||||
|
|
||||||
./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc --localstatedir=/var
|
./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc --localstatedir=/var
|
||||||
make -j9 clean all
|
make -j9 clean all
|
||||||
|
|
||||||
Then run (parallel does not work atm):
|
Then run (parallel does not work atm):
|
||||||
|
|
||||||
@@ -31,3 +31,7 @@ test. To execute an individual test, simply invoke the script containing it:
|
|||||||
|
|
||||||
./test/name-of-the-test.sh
|
./test/name-of-the-test.sh
|
||||||
|
|
||||||
|
Another way to run a single (or more) test(s) is to define the `TESTS`
|
||||||
|
environment variable:
|
||||||
|
|
||||||
|
TESTS="start-kill-service" make check
|
||||||
Reference in new issue
Block a user