Debian Codegraph @

testsuite/README

raw
1 How to use check suite
2 ----------------------
3
4 You need DejaGNU package. Assuming you have it all you need to do is
5
6 make check
7
8
9 Something failed now what
10 -------------------------
11
12 First determine what did not work. If only one check failed you can
13 run it individually in debugging mode. For example
14
15 runtest -a -de -v w.test/w.exp
16 Expect binary is /usr/bin/expect
17 Using /usr/share/dejagnu/runtest.exp as main test driver
18 [...]
19
20 Do not bother capturing screen output, it is in testrun.log which
21 test suite generated.
22
23 $ ls testrun.* dbg.log
24 dbg.log testrun.log testrun.sum
25
26 The reason why test failed should be in dbg.log. Assuming you
27 figured out the reason you could write a patch fixing w.test/w.exp
28 and send it to upstream.
29
30 If you do not know how, or have time, to fix the issue create tar.gz
31 file containing test run logs and submit it to upstream maintainers.
32 Notice that in later case upstream sometimes has to ask clarifying
33 questions about environment where problem occurred.