tests/test-c32width.c


Log

Author Commit Date CI Message
Bruno Haible 4d5e82a9 2024-06-10T01:51:30 c32width tests: Avoid a test failure on Solaris 11 OpenIndiana, OmniOS. * tests/test-c32width.c (main): On Solaris, disable two tests that fail on Solaris 11 OpenIndiana and Solaris 11 OmniOS.
Bruno Haible 3a5f5178 2024-05-18T21:32:01 tests: Support showing all assertion failures, not just the first one. * tests/macros.h (CONTINUE_AFTER_ASSERT): New macro. (test_exit_status): New variable. (ASSERT, ASSERT_NO_STDIO): If CONTINUE_AFTER_ASSERT is 1, set test_exit_status instead of aborting. * tests/**/test-*.{c,h,cc} (main): Instead of exiting with exit code 0, exit with exit code test_exit_status. * tests/test-spawn-pipe-child.c: Undefine CONTINUE_AFTER_ASSERT. * tests/uninorm/test-nf*.c: Include macros.h. * tests/uninorm/test-u32-nf*-big.c: Likewise. * tests/random*.c: Define NO_MAIN_HERE.
Simon Josefsson 5b92dd0a 2024-01-01T10:31:48 maint: run 'make update-copyright'
Bruno Haible bb5bb43a 2023-08-27T01:53:57 c32width tests: Avoid failure on FreeBSD 12. * tests/test-c32width.c (main): Skip two tests on FreeBSD < 13.
Bruno Haible 7f2e8636 2023-05-04T13:53:41 c32width: Add tests. * tests/test-c32width.c: New file, based on tests/test-wcwidth.c. * modules/c32width-tests: New file.