chiark / gitweb /
logind: add session controllers
[elogind.git] / test / README.testsuite
1 The extended testsuite only works with uid=0. It contains of several
2 subdirectories named "test/TEST-??-*", which are run one by one.
3
4 To run the extended testsuite do the following:
5
6 $ make all
7 $ cd test
8 $ sudo make clean check
9 ...
10 make[1]: Entering directory `/mnt/data/harald/git/systemd/test/TEST-01-BASIC'
11 Making all in .
12 Making all in po
13 Making all in docs/libudev
14 Making all in docs/gudev
15 TEST: Basic systemd setup [OK]
16 make[1]: Leaving directory `/mnt/data/harald/git/systemd/test/TEST-01-BASIC'
17 ...
18
19 If one of the tests fails, then $subdir/test.log contains the log file of
20 the test.
21
22 To debug a special testcase of the testsuite do:
23
24 $ make all
25 $ cd test/TEST-01-BASIC
26 $ sudo make clean setup run
27
28 If you want to log in the testsuite virtual machine, you can specify
29 additional kernel command line parameter with $DEBUGFAIL.
30
31 $ sudo make DEBUGFAIL="systemd.unit=multi-user.target" clean setup run
32
33 you can even skip the "clean" and "setup" if you want to run the machine again.
34
35 $ sudo make DEBUGFAIL="systemd.unit=multi-user.target" run