* tests/test-duplocale.c (main): Skip the test if the 'newlocale' call
fails.
+2016-10-16 Bruno Haible <bruno@clisp.org>
+
+ Fix a test crash.
+ * tests/test-duplocale.c (main): Skip the test if the 'newlocale' call
+ fails.
+
2016-10-16 Pádraig Brady <P@draigBrady.com>
test-limits-h: suppress -Woverlength-strings
/* Use a per-thread locale. */
perthread = newlocale (LC_ALL_MASK, "es_ES.UTF-8", NULL);
+ if (perthread == NULL)
+ {
+ fprintf (stderr, "Skipping test: Spanish Unicode locale is not installed\n");
+ return 77;
+ }
uselocale (perthread);
/* Save the locale in a locale_t object again. */