mosesdecoder/scripts/tests
2015-08-23 19:00:19 +04:00
..
cs-en-sample - support for sun grid engine prior to v.6.0 in qsubwrapper and mert-moses 2006-10-18 10:36:39 +00:00
full-train-mert-decode.test dos2unix everything 2015-08-23 19:00:19 +04: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-step9.test add svn id comments to start of file 2007-03-14 22:22: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.