summaryrefslogtreecommitdiff
path: root/modules/calloc-gnu-tests
Commit message (Collapse)AuthorAgeFilesLines
* *alloc-gnu tests: Use ASSERT macro.Bruno Haible2021-05-141-0/+1
| | | | | | | | | | | | | | | * tests/test-malloc-gnu.c: Include "macros.h". (main): Use ASSERT. * tests/test-calloc-gnu.c: Include "macros.h". (main): Use ASSERT. * tests/test-realloc-gnu.c: Include "macros.h". (main): Use ASSERT. * tests/test-reallocarray.c: Include "macros.h". (main): Use ASSERT. * modules/malloc-gnu-tests (Files): Add tests/macros.h. * modules/calloc-gnu-tests (Files): Likewise. * modules/realloc-gnu-tests (Files): Likewise. * modules/reallocarray-tests (Files): Likewise.
* malloc-gnu-tests, etc.: test ptrdiff_t overflowPaul Eggert2021-04-181-0/+1
| | | | | | | | | * modules/calloc-gnu-tests (Depends-on): * modules/malloc-gnu-tests (Depends-on): * modules/realloc-gnu-tests (Depends-on): Add stdint. * tests/test-calloc-gnu.c (main): * tests/test-malloc-gnu.c (main):, * tests/test-realloc-gnu.c (main): Test for ptrdiff_t overflow.
* Tests for module 'calloc-gnu'.Ralf Wildenhues2010-08-281-0/+10
* modules/calloc-gnu-tests: New file. * tests/test-calloc-gnu.c: New file.