diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-07-01 15:42:36 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-07-01 15:42:36 +0000 |
commit | 6552be7f745c5a8d506148c8af9d367c9d996d24 (patch) | |
tree | b9d673871a1490b64273a265d4d961316a2174db /Build/source/texk/xdvik/tests/README | |
parent | 48e2b240973977c208bc840b589b75b91a6f4c30 (diff) |
xdvik 22.84.14
git-svn-id: svn://tug.org/texlive/trunk@9142 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/tests/README')
-rw-r--r-- | Build/source/texk/xdvik/tests/README | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/tests/README b/Build/source/texk/xdvik/tests/README new file mode 100644 index 00000000000..f92ceca8cf3 --- /dev/null +++ b/Build/source/texk/xdvik/tests/README @@ -0,0 +1,29 @@ +1. To run the tests: + +$ cd texk/xdvik +$ make test + +or + +$ make test_verbose + +to see more details on the tests. + + + +2. To add a new test: + +(a) Adding a test to an existing test file: + - create a new function "static Boolean <test_name>(int verbosity)" + - add a register_test() call to the "register_all_...()" method + at the bottom of the file: + "register_test(<test_name>, "<short test description>") + +(b) Adding a new test file, e.g. test_foo.c: + - add test_foo.o to the "objects" definition in Makefile.in + - add a declaration for "extern void register_all_from_test_foo()" to run_tests.h + - add a call to "register_all_from_test_foo()" to run_tests.c + - define "register_all_from_test_foo(void)" at the botton of test_foo.c and + add register_test() methods for all test functions in the file + (see the existing test files for examples). + - rerun "make depend" as described in the toplevel file "README_maintainers". |