diff options
author | Kenneth Heafield <github@kheafield.com> | 2011-11-28 19:52:53 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2011-11-28 19:52:53 +0400 |
commit | 2722fe23174634bf79de9a72d3db6f99c6e2764b (patch) | |
tree | 35950cf986550aeaa2abcfb1b356c8a00b58a78a /Jamroot | |
parent | 5462c9cb623495cbc3d42c111a0bdc3266f6f776 (diff) |
Add optional regression testing to the build
Diffstat (limited to 'Jamroot')
-rw-r--r-- | Jamroot | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -20,6 +20,10 @@ #Builds scripts/training/train-model.perl using these paths. # # +#REGRESSION TESTING +#--with-regtest=/path/to/moses-reg-test-data +# +# #INSTALLATION #--prefix=/path/to/prefix sets the install prefix [dist]. #--bindir=/path/to/prefix/bin sets the bin directory [PREFIX/bin] @@ -177,6 +181,8 @@ build-project moses-cmd/src ; build-project moses-chart-cmd/src ; #Scripts have their own binaries. build-project scripts ; +#Regression tests (only enabled if --data-dir is passed) +build-project regression-testing ; if [ option.get "git" : : "yes" ] { local revision = [ _shell "git rev-parse --verify HEAD |head -c 7" ] ; |