ICU-13053 disable tests that where executed (but shouldn't) when

UCONFIG_NO_FILTERED_BREAK_ITERATION is set in uconfig.h.

X-SVN-Rev: 39942
This commit is contained in:
Norbert Runge 2017-03-27 16:30:43 +00:00
parent 28d3ddb66f
commit 1cba8da735
2 changed files with 5 additions and 1 deletions

View 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

View 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("");