]> granicus.if.org Git - icu/commitdiff
ICU-13053 disable tests that where executed (but shouldn't) when
authorNorbert Runge <nrunge@google.com>
Mon, 27 Mar 2017 16:30:43 +0000 (16:30 +0000)
committerNorbert Runge <nrunge@google.com>
Mon, 27 Mar 2017 16:30:43 +0000 (16:30 +0000)
UCONFIG_NO_FILTERED_BREAK_ITERATION is set in uconfig.h.

X-SVN-Rev: 39942

icu4c/source/test/cintltst/cbiapts.c
icu4c/source/test/intltest/rbbitst.cpp

index ec4fc838c07fee514c7eee6a49d2b0ecffbeaefb..9f68f0b7f7ed5a8db739d13ebd8d9e6b6b8b814a 100644 (file)
@@ -68,7 +68,9 @@ void addBrkIterAPITest(TestNode** root)
     addTest(root, &TestBreakIteratorTailoring, "tstxtbd/cbiapts/TestBreakIteratorTailoring");
     addTest(root, &TestBreakIteratorRefresh, "tstxtbd/cbiapts/TestBreakIteratorRefresh");
     addTest(root, &TestBug11665, "tstxtbd/cbiapts/TestBug11665");
+#if !UCONFIG_NO_FILTERED_BREAK_ITERATION
     addTest(root, &TestBreakIteratorSuppressions, "tstxtbd/cbiapts/TestBreakIteratorSuppressions");
+#endif
 }
 
 #define CLONETEST_ITERATOR_COUNT 2
index 815448dfe4a8cf35aa002482048001335405e72f..3df44d12319bdf3160764912f1e3dae76fc68e02 100644 (file)
@@ -1125,7 +1125,9 @@ void RBBITest::executeTest(TestParams *t, UErrorCode &status) {
 
 
 void RBBITest::TestExtended() {
-#if !UCONFIG_NO_REGULAR_EXPRESSIONS
+  // Skip test for now when UCONFIG_NO_FILTERED_BREAK_ITERATION is set. This
+  // data driven test closely entangles filtered and regular data.
+#if !UCONFIG_NO_REGULAR_EXPRESSIONS && !UCONFIG_NO_FILTERED_BREAK_ITERATION
     UErrorCode      status  = U_ZERO_ERROR;
     Locale          locale("");