tests/test-mbrtoc32-regular.c


Log

Author Commit Date CI Message
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'
Paul Eggert 1bd6700e 2023-07-11T07:54:01 More than one initial mbstate_t In commentary, say "an initial state" rather than "the initial state" for mbstate_t, as it is possible and indeed common for there to be more than one initial state. POSIX routinely says "an initial state".
Bruno Haible 2d46fcdd 2023-07-11T00:06:14 mbrtoc32-regular: Add tests. * tests/test-mbrtoc32-regular.c: New file. * modules/mbrtoc32-regular-tests: New file.