1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
gnulib/modules/userspec-tests
Bruno Haible 8e2078774f Use countof, part 1.
* lib/argmatch.h: Include <stdcountof.h>.
(ARRAY_CARDINALITY): Remove macro.
(ARGMATCH_VERIFY): Use countof instead.
* tests/test-argv-iter.c: Include <stdcountof.h>.
(ARRAY_CARDINALITY): Remove macro.
(main): Use countof instead.
* tests/test-hash.c: Include <stdcountof.h>.
(ARRAY_CARDINALITY): Remove macro.
(main): Use countof instead.
* tests/test-userspec.c: Include <stdcountof.h>.
(ARRAY_CARDINALITY): Remove macro.
(main): Use countof instead.
* modules/argmatch (Depends-on): Add stdcountof-h.
* modules/argv-iter-tests (Depends-on): Likewise.
* modules/hash-tests (Depends-on): Likewise.
* modules/userspec-tests (Depends-on): Likewise.
2026-03-02 13:01:30 +01:00

15 lines
193 B
Plaintext

Files:
tests/test-userspec.c
Depends-on:
xalloc
stdcountof-h
streq
configure.ac:
Makefile.am:
TESTS += test-userspec
check_PROGRAMS += test-userspec
test_userspec_LDADD = $(LDADD) @LIBINTL@