summaryrefslogtreecommitdiffstats
path: root/do-not-fail-intltest-because-of-changed-data.patch
diff options
context:
space:
mode:
Diffstat (limited to 'do-not-fail-intltest-because-of-changed-data.patch')
-rw-r--r--do-not-fail-intltest-because-of-changed-data.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/do-not-fail-intltest-because-of-changed-data.patch b/do-not-fail-intltest-because-of-changed-data.patch
new file mode 100644
index 0000000..1bd70f0
--- /dev/null
+++ b/do-not-fail-intltest-because-of-changed-data.patch
@@ -0,0 +1,15 @@
+--- icu/source/test/intltest/intltest.cpp 2013-01-11 01:22:00.000000000 +0100
++++ icu/source/test/intltest/intltest.cpp 2018-06-15 09:17:32.714205868 +0200
+@@ -1425,7 +1425,11 @@
+ if(ctest_xml_fini())
+ return 1;
+
+- return major.getErrors();
++ if(!warnOnMissingData) {
++ return major.getErrors();
++ } else {
++ return 0;
++ }
+ }
+
+ const char* IntlTest::loadTestData(UErrorCode& err){