Fix commit 3c72e54.
[pwmd.git] / tests / README
blob0a86cda219bae410410128df16b264d909e8442c
1 Most of these tests require the pwmc client included with libpwmd to compare
2 the result of pwmd commands against static results. The current directory is
3 passed as the argument to pwmd's --homedir command line option to hold the
4 pwmd socket, data files and temporary configuration files.
6 A new pwmd and gpg-agent process is started for each test (script) and
7 terminated when the tests are complete.
9 Doing 'make check' will run all tests. To run a specific test or tests, set
10 the TESTS environment variable:
12 $ make check TESTS="acl.test bulk.test"
14 If you want to run numbered tests, but without the TAP harness:
16 $ AM_SRCDIR=`pwd` AM_BUILDDIR=$AM_SRCDIR ./acl.test 1 2 3
18 Note though that some tests depend on the result of previous tests.
20 To print pwmd and pwmc debugging output which may contain error codes and
21 status messages, add DEBUG:
23 $ DEBUG=1 AM_SRCDIR=`pwd` AM_BUILDDIR=$AM_SRCDIR ./acl.test 1 2 3