updated the regression testing wrapper script

This commit is contained in:
Evgeny Matusov 2015-11-19 08:03:12 -07:00
parent c60d23ecb3
commit 6c7e69996f
2 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ if($run_server_test)
if ($@) {
die "Error: XMLRPC::Lite not installed, moses server regression tests will not be run. $@";
}
exit(1) if($startupTest);
exit(0) if($startupTest);
}
die "Please specify a decoder with --decoder\n" unless $decoder;

View File

@ -4,8 +4,8 @@
set -e -o pipefail
git submodule init
git submodule update regtest
# git submodule init
# git submodule update regtest
if [ "$RECOMPILE" == "NO" ] ; then
RECOMPILE=
@ -14,9 +14,9 @@ else
fi
# test compilation without xmlrpc-c
# ./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --no-xmlrpc-c --with-regtest=./regtest $RECOMPILE -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
if [ ./regression-testing/run-single-test.perl --server --startuptest ] ; then
if ./regression-testing/run-single-test.perl --server --startuptest ; then
./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --with-xmlrpc-c=./opt --with-regtest=./regtest $RECOMPILE -q $@
fi