mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
0241f2fc5f
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@727 1f5c12ca-751b-0410-a591-d2e778427230
29 lines
690 B
Plaintext
29 lines
690 B
Plaintext
==== Running the tests:
|
|
|
|
All *.test files here are run by ../Makefile.
|
|
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:
|
|
|
|
tests/TESTNAME.test.TIMESTAMP/
|
|
|
|
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.
|
|
|