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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2011-11-28 19:52:53 +0400
committerKenneth Heafield <github@kheafield.com>2011-11-28 19:52:53 +0400
commit2722fe23174634bf79de9a72d3db6f99c6e2764b (patch)
tree35950cf986550aeaa2abcfb1b356c8a00b58a78a /Jamroot
parent5462c9cb623495cbc3d42c111a0bdc3266f6f776 (diff)
Add optional regression testing to the build
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot6
1 files changed, 6 insertions, 0 deletions
diff --git a/Jamroot b/Jamroot
index 0b31c6de0..754b9400a 100644
--- a/Jamroot
+++ b/Jamroot
@@ -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" ] ;