summaryrefslogtreecommitdiff
path: root/tests/README
blob: a7bcca760314b57558299bb6722b3667bd33fe47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Where to put new tests:

/tests/ if they're simple regression tests that don't touch the session bus

/tests/dbus/ if they touch the session bus
(a temporary session bus will be used)

/tests/tools/ if they're shell scripts that test the code generation tools

To run a single test:
  make -C tests/dbus check TESTS=test-contacts

If you're running a test under a debugger, export TP_TESTS_NO_TIMEOUT=1 to
avoid it being killed for taking too long.

Generate tests coverage report
==============================

make clean
./configure --enable-compiler-coverage
make check
make lcov-report