2006-08-14 21:36:36 +04:00
|
|
|
==== Running the tests:
|
|
|
|
|
2006-08-01 05:18:13 +04:00
|
|
|
All *.test files here are run by ../Makefile.
|
2006-08-14 21:36:36 +04:00
|
|
|
Please do not run them from here, as they should depend some variables set by the ../Makefile
|
|
|
|
|
|
|
|
To run all tests, issue:
|
|
|
|
make tests
|
|
|
|
!! in the scripts directory
|
|
|
|
|
|
|
|
Ro tun a single test, issue:
|
|
|
|
make tests/TESTNAME.test.run
|
|
|
|
!! in the scripts directory
|
|
|
|
|
|
|
|
Example:
|
|
|
|
make tests/train-factored-test-step3.test.run
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==== Building new tests
|
|
|
|
|
|
|
|
Each of the test should assume that it is launched in a fresh directory:
|
2006-08-01 05:18:13 +04:00
|
|
|
|
|
|
|
tests/TESTNAME.test.TIMESTAMP/
|
2006-08-14 21:36:36 +04:00
|
|
|
|
|
|
|
The test should prepare any files needed and then should test what there is to test.
|
|
|
|
|
|
|
|
The best way is to make a copy of an older test, rename, modify and add to the CVS.
|
|
|
|
|