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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-11-30 02:08:48 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-11-30 02:19:19 +0300
commit7a0e9f292f026ce1a70bd23f067493747d726437 (patch)
treefd6984b211f5141677bf475c9b2299012a4d778f /regression-testing
parentc165e80e4889eb0c919cd18bc2cc053fd84f456b (diff)
added option to skip new compactpt regtests, until the underlying issue is resolved
Diffstat (limited to 'regression-testing')
-rw-r--r--regression-testing/Jamfile14
1 files changed, 11 insertions, 3 deletions
diff --git a/regression-testing/Jamfile b/regression-testing/Jamfile
index 2452b27a5..68b9ebd39 100644
--- a/regression-testing/Jamfile
+++ b/regression-testing/Jamfile
@@ -1,7 +1,8 @@
import option path ;
with-regtest = [ option.get "with-regtest" ] ;
-with-xmlrpc = [ option.get "with-xmlrpc-c" ] ;
+skip-compact = [ option.get "regtest-skip-compactpt" : : "yes" ] ;
+with-xmlrpc = [ option.get "with-xmlrpc-c" ] ;
if $(with-regtest) {
with-regtest = [ path.root $(with-regtest) [ path.pwd ] ] ;
@@ -32,8 +33,15 @@ if $(with-regtest) {
}
reg_test phrase-server : [ glob $(test-dir)/phrase-server.* ] : ../moses-cmd//moses : @reg_test_decode_server ;
}
- reg_test phrase : [ glob $(test-dir)/phrase.* : $(test-dir)/*withDALM ] : ../moses-cmd//moses : @reg_test_decode ;
- reg_test chart : [ glob $(test-dir)/chart.* : $(test-dir)/*withDALM ] : ../moses-cmd//moses : @reg_test_decode ;
+
+ if $(skip-compact) {
+ reg_test phrase : [ glob $(test-dir)/phrase.* : $(test-dir)/*withDALM $(test-dir)/*compactptable ] : ../moses-cmd//moses : @reg_test_decode ;
+ reg_test chart : [ glob $(test-dir)/chart.* : $(test-dir)/*withDALM $(test-dir)/*compactptable ] : ../moses-cmd//moses : @reg_test_decode ;
+ } else {
+ reg_test phrase : [ glob $(test-dir)/phrase.* : $(test-dir)/*withDALM ] : ../moses-cmd//moses : @reg_test_decode ;
+ reg_test chart : [ glob $(test-dir)/chart.* : $(test-dir)/*withDALM ] : ../moses-cmd//moses : @reg_test_decode ;
+ }
+
if [ option.get "with-dalm" : : "yes" ] {
reg_test dalm : [ glob $(test-dir)/*withDALM ] : ../moses-cmd//moses : @reg_test_decode ;
} else {