mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-02 17:09:36 +03:00
updated the regression testing wrapper script
This commit is contained in:
parent
c60d23ecb3
commit
6c7e69996f
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user