Next: , Previous: Test suite files, Up: Unit testing


8.2.4 The runtests program

The runtests program is the driver of the testing procedure. It is located in the torture/unit/ directory.

In order to integrate new test files into the runtests program the source files of the test files should be added to the value of the TEST_FILES variable in torture/unit/Makefile.am.

For example:

     TEST_FILES = base/stm/pdf-create-file-stm.c \
                  base/OTHER-MODULE/OTHER-TEST-FILE.c