From c69b297647807bc952e2b7d69e81ba243f143244 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 4 Jan 2021 02:12:46 +0100 Subject: [PATCH] c32ispunct tests: Avoid test failures on FreeBSD. * tests/test-c32ispunct.c (main): On FreeBSD, disable tests that fail on FreeBSD 12.1.1. --- ChangeLog | 6 ++++++ tests/test-c32ispunct.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff927578e8..6d1a13aed2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-01-03 Bruno Haible + + c32ispunct tests: Avoid test failures on FreeBSD. + * tests/test-c32ispunct.c (main): On FreeBSD, disable tests that fail on + FreeBSD 12.1.1. + 2021-01-04 Simon Josefsson doc: Repeat warning that --with-tests cannot be used twice. diff --git a/tests/test-c32ispunct.c b/tests/test-c32ispunct.c index 0ba4f51bf1..34bd8ef892 100644 --- a/tests/test-c32ispunct.c +++ b/tests/test-c32ispunct.c @@ -207,7 +207,7 @@ main (int argc, char *argv[]) /* U+00BF INVERTED QUESTION MARK */ is = for_character ("\302\277", 2); ASSERT (is != 0); - #if !defined __sun + #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun) /* U+00D7 MULTIPLICATION SIGN */ is = for_character ("\303\227", 2); ASSERT (is != 0); @@ -224,7 +224,7 @@ main (int argc, char *argv[]) /* U+05F3 HEBREW PUNCTUATION GERESH */ is = for_character ("\327\263", 2); ASSERT (is != 0); - #if !(defined __sun || (defined _WIN32 && !defined __CYGWIN__)) + #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun || (defined _WIN32 && !defined __CYGWIN__)) /* U+2192 RIGHTWARDS ARROW */ is = for_character ("\342\206\222", 3); ASSERT (is != 0); @@ -241,7 +241,7 @@ main (int argc, char *argv[]) /* U+10330 GOTHIC LETTER AHSA */ is = for_character ("\360\220\214\260", 4); ASSERT (is == 0); - #if !defined __sun + #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun) /* U+1D100 MUSICAL SYMBOL SINGLE BARLINE */ is = for_character ("\360\235\204\200", 4); ASSERT (is != 0); -- 2.39.5