mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
Split tests for getopt-posix and getopt-gnu.
* tests/test-getopt-posix.c: New file. * tests/test-getopt-gnu.c: New file, with code from test-getopt.c. * tests/test-getopt-main.h: Renamed from tests/test-getopt.c. Remove stuff moved to test-getopt-gnu.c. Test TEST_GETOPT_GNU instead of GNULIB_TEST_GETOPT_GNU. * modules/getopt-posix-tests (Files): Add test-getopt-posix.c, test-getopt-main.h. Remove test-getopt.c, test-getopt_long.h. (Makefile.am): Test test-getopt-posix instead of test-getopt. * modules/getopt-gnu-tests: New file. * modules/getopt-gnu (configure.ac): Don't define GNULIB_TEST_GETOPT_GNU.
This commit is contained in:
21
modules/getopt-gnu-tests
Normal file
21
modules/getopt-gnu-tests
Normal file
@@ -0,0 +1,21 @@
|
||||
Files:
|
||||
tests/macros.h
|
||||
tests/signature.h
|
||||
tests/test-getopt-gnu.c
|
||||
tests/test-getopt-main.h
|
||||
tests/test-getopt.h
|
||||
tests/test-getopt_long.h
|
||||
|
||||
Depends-on:
|
||||
dup2
|
||||
setenv
|
||||
stdbool
|
||||
unistd
|
||||
unsetenv
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
TESTS += test-getopt-gnu
|
||||
check_PROGRAMS += test-getopt-gnu
|
||||
test_getopt_gnu_LDADD = $(LDADD) $(LIBINTL)
|
Reference in New Issue
Block a user