mosesdecoder/scripts/tests
2006-08-14 17:36:36 +00:00
..
epps-sample Added a test to check step 3 of train-factored-models 2006-08-14 16:20:40 +00:00
mert-moses-parallel.test better explanation in README, fixed test preparation in tests/train-factored-test-step3.test 2006-08-14 17:36:36 +00:00
mert-moses-serial.test better explanation in README, fixed test preparation in tests/train-factored-test-step3.test 2006-08-14 17:36:36 +00:00
README better explanation in README, fixed test preparation in tests/train-factored-test-step3.test 2006-08-14 17:36:36 +00:00
train-factored-test-step3.test better explanation in README, fixed test preparation in tests/train-factored-test-step3.test 2006-08-14 17:36:36 +00:00
train-factored-test-step9.test better explanation in README, fixed test preparation in tests/train-factored-test-step3.test 2006-08-14 17:36:36 +00:00

==== 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.