Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README « tests « scripts - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2d1db6908442651b973acbeef9940114265a9d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
==== 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.