From 7a0e9f292f026ce1a70bd23f067493747d726437 Mon Sep 17 00:00:00 2001 From: Ulrich Germann Date: Sun, 29 Nov 2015 23:08:48 +0000 Subject: [PATCH] added option to skip new compactpt regtests, until the underlying issue is resolved --- regression-testing/Jamfile | 14 +++++++++++--- 1 file 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 {