mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
Update to run-regtests.sh .
This commit is contained in:
parent
cb477df36d
commit
e0d5f3f138
@ -53,18 +53,18 @@ git submodule update regtest
|
|||||||
# -- compile from scratch with server, run regtests
|
# -- compile from scratch with server, run regtests
|
||||||
set -x
|
set -x
|
||||||
if [ "$full" == true ] ; then
|
if [ "$full" == true ] ; then
|
||||||
./bjam -j$j --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph --no-xmlrpc-c --with-regtest=$regtest -a $skipcompact $@ $q || exit $?
|
./bjam -j$j --with-mm --with-mm-extras --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph --no-xmlrpc-c --with-regtest=$regtest -a $skipcompact $@ $q || exit $?
|
||||||
if ./regression-testing/run-single-test.perl --server --startuptest ; then
|
if ./regression-testing/run-single-test.perl --server --startuptest ; then
|
||||||
./bjam -j$j --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph $xmlrpc --with-regtest=$regtest -a $skipcompact $@ $q
|
./bjam -j$j --with-mm --with-mm-extras --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph $xmlrpc --with-regtest=$regtest -a $skipcompact $@ $q
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# when investigating failures, always run single-threaded
|
# when investigating failures, always run single-threaded
|
||||||
if [ "$q" == "-q" ] ; then j=1; fi
|
if [ "$q" == "-q" ] ; then j=1; fi
|
||||||
|
|
||||||
if ./regression-testing/run-single-test.perl --server --startuptest ; then
|
if ./regression-testing/run-single-test.perl --server --startuptest ; then
|
||||||
./bjam -j$j $q $a --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph $xmlrpc --with-regtest=$regtest $skipcompact $@
|
./bjam -j$j --with-mm $q $a --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph $xmlrpc --with-regtest=$regtest $skipcompact $@
|
||||||
else
|
else
|
||||||
./bjam -j$j $q $a --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph --no-xmlrpc-c --with-regtest=$regtest $skipcompact $@
|
./bjam -j$j --with-mm --with-mm-extras $q $a --with-irstlm=$irstlm --with-boost=$boost --with-cmph=$cmph --no-xmlrpc-c --with-regtest=$regtest $skipcompact $@
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user