+2025-04-14 Bruno Haible <bruno@clisp.org>
+
+ c32is*, c32to* tests: Avoid test failures on macOS 15.4.
+ * tests/test-c32isalnum.c (main): On macOS, disable test cases that fail
+ on macOS 15.4.
+ * tests/test-c32isalpha.c (main): Likewise.
+ * tests/test-c32isgraph.c (main): Likewise.
+ * tests/test-c32islower.c (main): Likewise.
+ * tests/test-c32isprint.c (main): Likewise.
+ * tests/test-c32ispunct.c (main): Likewise.
+ * tests/test-c32isspace.c (main): Likewise.
+ * tests/test-c32isupper.c (main): Likewise.
+ * tests/test-c32tolower.c (main): Likewise.
+ * tests/test-c32toupper.c (main): Likewise.
+
2025-04-14 Bruno Haible <bruno@clisp.org>
c-stack tests: Remove left-over core dump file.
/* U+00D7 MULTIPLICATION SIGN */
is = for_character ("\241\301", 2);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00D8 LATIN CAPITAL LETTER O WITH STROKE */
is = for_character ("\201\060\211\061", 4);
ASSERT (is != 0);
/* U+00D7 MULTIPLICATION SIGN */
is = for_character ("\241\301", 2);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00D8 LATIN CAPITAL LETTER O WITH STROKE */
is = for_character ("\201\060\211\061", 4);
ASSERT (is != 0);
is = for_character ("\240", 1);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+00B8 CEDILLA */
is = for_character ("\270", 1);
ASSERT (is != 0);
is = for_character ("\201\060\204\062", 4);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00B8 CEDILLA */
is = for_character ("\201\060\206\060", 4);
ASSERT (is != 0);
/* U+00C9 LATIN CAPITAL LETTER E WITH ACUTE */
is = for_character ("\201\060\207\067", 4);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00DF LATIN SMALL LETTER SHARP S */
is = for_character ("\201\060\211\070", 4);
ASSERT (is != 0);
is = for_character ("\250\246", 2);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00FF LATIN SMALL LETTER Y WITH DIAERESIS */
is = for_character ("\201\060\213\067", 4);
ASSERT (is != 0);
/* U+0141 LATIN CAPITAL LETTER L WITH STROKE */
is = for_character ("\201\060\221\071", 4);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+0142 LATIN SMALL LETTER L WITH STROKE */
is = for_character ("\201\060\222\060", 4);
ASSERT (is != 0);
/* U+0429 CYRILLIC CAPITAL LETTER SHCHA */
is = for_character ("\247\273", 2);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+0449 CYRILLIC SMALL LETTER SHCHA */
is = for_character ("\247\353", 2);
ASSERT (is != 0);
/* U+007F <control> */
is = for_character ("\177", 1);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sgi || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sgi || (defined _WIN32 && !defined __CYGWIN__))
/* U+00A0 NO-BREAK SPACE */
is = for_character ("\240", 1);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+00B8 CEDILLA */
is = for_character ("\270", 1);
ASSERT (is != 0);
/* U+007F <control> */
is = for_character ("\177", 1);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00A0 NO-BREAK SPACE */
is = for_character ("\201\060\204\062", 4);
ASSERT (is != 0);
is = for_character ("\201\066\247\061", 4);
ASSERT (is == 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+3000 IDEOGRAPHIC SPACE */
is = for_character ("\241\241", 2);
ASSERT (is != 0);
case '1':
/* Locale encoding is ISO-8859-1 or ISO-8859-15. */
{
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+00BF INVERTED QUESTION MARK */
is = for_character ("\277", 1);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00D7 MULTIPLICATION SIGN */
is = for_character ("\327", 1);
ASSERT (is != 0);
is = for_character ("\217\242\304", 3);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+00D7 MULTIPLICATION SIGN */
is = for_character ("\241\337", 2);
ASSERT (is != 0);
/* U+00BF INVERTED QUESTION MARK */
is = for_character ("\302\277", 2);
ASSERT (is != 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00D7 MULTIPLICATION SIGN */
is = for_character ("\303\227", 2);
ASSERT (is != 0);
/* U+05F3 HEBREW PUNCTUATION GERESH */
is = for_character ("\327\263", 2);
ASSERT (is != 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
/* U+2192 RIGHTWARDS ARROW */
is = for_character ("\342\206\222", 3);
ASSERT (is != 0);
/* U+10330 GOTHIC LETTER AHSA */
is = for_character ("\360\220\214\260", 4);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+1D100 MUSICAL SYMBOL SINGLE BARLINE */
is = for_character ("\360\235\204\200", 4);
ASSERT (is != 0);
return 77;
#endif
{
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00BF INVERTED QUESTION MARK */
is = for_character ("\201\060\206\067", 4);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00D7 MULTIPLICATION SIGN */
is = for_character ("\241\301", 2);
ASSERT (is != 0);
/* U+0141 LATIN CAPITAL LETTER L WITH STROKE */
is = for_character ("\201\060\221\071", 4);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+05F3 HEBREW PUNCTUATION GERESH */
is = for_character ("\201\060\374\067", 4);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+2192 RIGHTWARDS ARROW */
is = for_character ("\241\372", 2);
ASSERT (is != 0);
/* U+00B7 MIDDLE DOT */
is = for_character ("\241\244", 2);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+2002 EN SPACE */
is = for_character ("\201\066\243\070", 4);
ASSERT (is != 0);
#endif
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+3000 IDEOGRAPHIC SPACE */
is = for_character ("\241\241", 2);
ASSERT (is != 0);
/* U+00B5 MICRO SIGN */
is = for_character ("\201\060\205\070", 4);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00C9 LATIN CAPITAL LETTER E WITH ACUTE */
is = for_character ("\201\060\207\067", 4);
ASSERT (is != 0);
/* U+00FF LATIN SMALL LETTER Y WITH DIAERESIS */
is = for_character ("\201\060\213\067", 4);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+0141 LATIN CAPITAL LETTER L WITH STROKE */
is = for_character ("\201\060\221\071", 4);
ASSERT (is != 0);
/* U+0142 LATIN SMALL LETTER L WITH STROKE */
is = for_character ("\201\060\222\060", 4);
ASSERT (is == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+0429 CYRILLIC CAPITAL LETTER SHCHA */
is = for_character ("\247\273", 2);
ASSERT (is != 0);
mb = for_character ("\201\060\205\070", 4);
ASSERT (mb.nbytes == 4);
ASSERT (memcmp (mb.buf, "\201\060\205\070", 4) == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00C9 LATIN CAPITAL LETTER E WITH ACUTE */
mb = for_character ("\201\060\207\067", 4);
ASSERT (mb.nbytes == 2);
mb = for_character ("\201\060\213\067", 4);
ASSERT (mb.nbytes == 4);
ASSERT (memcmp (mb.buf, "\201\060\213\067", 4) == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+0141 LATIN CAPITAL LETTER L WITH STROKE */
mb = for_character ("\201\060\221\071", 4);
ASSERT (mb.nbytes == 4);
mb = for_character ("\201\060\222\060", 4);
ASSERT (mb.nbytes == 4);
ASSERT (memcmp (mb.buf, "\201\060\222\060", 4) == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+0429 CYRILLIC CAPITAL LETTER SHCHA */
mb = for_character ("\247\273", 2);
ASSERT (mb.nbytes == 2);
mb = for_character ("\201\060\211\070", 4);
ASSERT (mb.nbytes == 4);
ASSERT (memcmp (mb.buf, "\201\060\211\070", 4) == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+00E9 LATIN SMALL LETTER E WITH ACUTE */
mb = for_character ("\250\246", 2);
ASSERT (mb.nbytes == 4);
mb = for_character ("\201\060\221\071", 4);
ASSERT (mb.nbytes == 4);
ASSERT (memcmp (mb.buf, "\201\060\221\071", 4) == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
/* U+0142 LATIN SMALL LETTER L WITH STROKE */
mb = for_character ("\201\060\222\060", 4);
ASSERT (mb.nbytes == 4);
mb = for_character ("\247\273", 2);
ASSERT (mb.nbytes == 2);
ASSERT (memcmp (mb.buf, "\247\273", 2) == 0);
- #if !(defined __FreeBSD__ || defined __DragonFly__)
+ #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__)
/* U+0449 CYRILLIC SMALL LETTER SHCHA */
mb = for_character ("\247\353", 2);
ASSERT (mb.nbytes == 2);