Collin Funk
a8482ceecf
maint: run 'make update-copyright'
2026-01-01 10:37:05 -08:00
Collin Funk
27b1797939
mcel: add mcel_eq.
...
* lib/mcel.h (mcel_eq): New function.
* tests/test-mcel.c (main): Add tests.
2025-11-27 11:51:46 -08:00
Pádraig Brady
7b08932179
maint: run 'make update-copyright'
2025-01-01 09:25:10 +00:00
Bruno Haible
5d59b5beb0
mcel tests: Avoid test failures due to broken GB18030 converter.
...
* tests/test-mcel.c (main): Fix mistake in last commit.
2024-05-25 12:39:14 +02:00
Bruno Haible
28a8b2a301
mcel tests: Avoid test failures due to broken GB18030 converter.
...
* tests/test-mcel.c (main): Skip most GB18030 tests on platforms where
the GB18030 converter is known to be broken.
2024-05-25 12:27:44 +02:00
Bruno Haible
ac84de924d
mcel tests: Fix typo.
...
* tests/test-mcel.c (main): Increment j instead of i.
2024-05-25 12:17:16 +02:00
Bruno Haible
3a5f51783b
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.
2024-05-18 23:33:58 +02:00
Bruno Haible
9903215576
mcel tests: Fix test failure with Oracle cc 12.6.
...
* tests/test-mcel.c (main): Explicitly return 0 at the end.
2024-03-29 02:14:21 +01:00
Simon Josefsson
5b92dd0a45
maint: run 'make update-copyright'
2024-01-01 10:31:48 +01:00
Paul Eggert
44f6086116
mcel-tests: fix thinko in test
...
* tests/test-mcel.c (main): Fix typo in mcel_scanz test.
Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2023-12/msg00034.html
2023-12-14 17:15:57 -08:00
Paul Eggert
05241959ff
mcel-tests: fix read overrun in test case
...
* tests/test-mcel.c (main): Don’t overrun test input buffer.
Problem reported by Bruno Haible; found on CHERI-64.
2023-11-06 20:39:10 -08:00
Paul Eggert
988b7b2f88
mcel-tests: new module
...
* modules/mcel-tests, tests/test-mcel.c: New files
2023-09-07 15:08:44 -07:00