Some portability problems are specific to Haiku. Therefore it makes sense to mark some test failures as "expected failure on Haiku only".
2025-02-05 Bruno Haible <br...@clisp.org> test-xfail: Define a condition for Haiku. * modules/test-xfail (configure.ac): Define OS_IS_HAIKU conditional. diff --git a/modules/test-xfail b/modules/test-xfail index 3eef613a8a..52344591e1 100644 --- a/modules/test-xfail +++ b/modules/test-xfail @@ -51,6 +51,8 @@ esac gl_CONDITIONAL([PLATFORM_IS_MINGW], [$is_mingw]) gl_CONDITIONAL([PLATFORM_IS_MSVC], [$is_msvc]) +gl_CONDITIONAL([OS_IS_HAIKU], + [case "$host_os" in haiku*) true ;; *) false ;; esac]) gl_CONDITIONAL([OS_IS_ANDROID], [case "$host_os" in linux-androideabi*) true ;; *) false ;; esac])