diff options
author | Ales Tamchyna <a.tamchyna@gmail.com> | 2011-10-21 22:27:56 +0400 |
---|---|---|
committer | Ales Tamchyna <a.tamchyna@gmail.com> | 2011-10-21 22:27:56 +0400 |
commit | 05a95d464da5018cb392d46d49a2f0ace929e891 (patch) | |
tree | 067fa78f35dcf27b3e4135c5cddbcfce85c4bc9d /cruise-control | |
parent | 3e765d259a279e7dce829b3e8f00e9b29f2b0340 (diff) |
updated readme and example.config
Diffstat (limited to 'cruise-control')
-rw-r--r-- | cruise-control/README | 33 | ||||
-rw-r--r-- | cruise-control/example.config | 14 |
2 files changed, 22 insertions, 25 deletions
diff --git a/cruise-control/README b/cruise-control/README index 314f97886..ede761c08 100644 --- a/cruise-control/README +++ b/cruise-control/README @@ -1,27 +1,24 @@ A simple regular testing of Moses codebase, aka cruise control -Started by Ondrej Bojar -2011-08-28 +-------------------------------------------------------------- +Features: -Usage: +- Checkout latest commits +- Test configure, make, make scripts +- Run regression tests +- Run a sample EMS pipeline +- Report results into logfiles -1. Checkout this directory somewhere on the computer where you want to run the - cruise control. -2. Create as many config files as you wish, an example is ondrej-nb.config - ...hardcode all paths to you preferred external tools like LM toolkits. -3. Run ./test_all_new_commits.sh <CONFIGFILE> +How to run cruise control: +1) Download and compile SRILM +2) Download, compile and install IRSTLM -TODO / KNOWN BUGS -- regression tests are not run yet +3) Edit the configuration file example.config. You can create as many + configuration files as you like. -- regression tests always require SRILM, but we need to test all LMs that have - been compiled in - => add separate regression tests, one for each LM? - => modify regression tests to actually loop over all LMs? +4) Execute ./test_all_new_commits.sh yourfile.config -- final status is FAIL if any regression test fails, but we should actually - allow to expect failures for the given set of ./configure parameters - (e.g. regression test requiring irstlm is bound to fail if we're not linking - against irstlm) + +Written by Ondrej Bojar, Ales Tamchyna, Barry Haddow, Rimas Blazaitis diff --git a/cruise-control/example.config b/cruise-control/example.config index 15f155d2b..203dbb0b0 100644 --- a/cruise-control/example.config +++ b/cruise-control/example.config @@ -2,20 +2,20 @@ MCC_TEMPDIR="/tmp/" # where logs are saved -MCC_LOGDIR="/home/ales/mtm6/moses/cruise-control/" +MCC_LOGDIR="/home/cruise/" # where moses gets checked out, tested etc. -MCC_WORKDIR="/home/ales/mtm6/moses/cruise-control/work/" +MCC_WORKDIR="/home/cruise/work/" -# repository that will be checked out, must be a local directory (for now?) -MCC_GITREPO="git://mosesdecoder.git.sourceforge.net/gitroot/mosesdecoder/mosesdecoder" +# repository that will be checked out +MCC_GITREPO="https://github.com/moses-smt/mosesdecoder.git" # arguments passed to Moses configure -MCC_CONFIGURE_ARGS=" --with-srilm=/home/ales/mtm6/srilm/ " +MCC_CONFIGURE_ARGS=" --with-srilm=/path/to/srilm --with-irstlm=/path/to/irstlm " # list of branches to be checked MCC_SCAN_BRANCHES="master" -# regression test data archive -MCC_REGTEST_ARCHIVE="http://www.statmt.org/moses/reg-testing/moses-reg-test-data-7.tgz" +# regression test data archive (optional, this is the default) +MCC_REGTEST_ARCHIVE="http://www.statmt.org/moses/reg-testing/moses-reg-test-data-8.tgz" |