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:
authorEvgeny Matusov <ematusov@ebay.com>2015-11-18 18:21:50 +0300
committerEvgeny Matusov <ematusov@ebay.com>2015-11-18 18:21:50 +0300
commit4e8396744cec72d7f2926c2d972b86f3b20cbb93 (patch)
treedc2a4def70254af93cc5fd93f2d33c08062f901b /run-regtests.sh
parent5e1340cf63b1e263ff7336075bf791642fd616db (diff)
added first version of regression testing for moses server
Diffstat (limited to 'run-regtests.sh')
-rwxr-xr-xrun-regtests.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/run-regtests.sh b/run-regtests.sh
index 8b64eac22..5b814e444 100755
--- a/run-regtests.sh
+++ b/run-regtests.sh
@@ -7,8 +7,11 @@ set -e -o pipefail
git submodule init
git submodule update regtest
+RECOMPILE=${RECOMPILE:-"-a"}
+
# test compilation without xmlrpc-c
-./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --no-xmlrpc-c --with-regtest=./regtest -a -q $@ || exit $?
+# ./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --no-xmlrpc-c --with-regtest=./regtest $RECOMPILE -q $@ || exit $?
# test compilation with xmlrpc-c
-./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --with-xmlrpc-c=./opt --with-regtest=./regtest -a -q $@
+./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --with-xmlrpc-c=./opt --with-regtest=./regtest $RECOMPILE -q $@
+