diff options
| author | Bruno Haible <bruno@clisp.org> | 2016-12-18 14:03:37 +0100 |
|---|---|---|
| committer | Bruno Haible <bruno@clisp.org> | 2016-12-18 14:03:37 +0100 |
| commit | bd70cf691d1f9a1a514b37b5dcd675bea3b013bd (patch) | |
| tree | 402eb21e96ec5a084bef4f9726092cb8f2373cba /modules/getopt-gnu-tests | |
| parent | 3e8966603703b677b3c29003dd8c1d68dd34457c (diff) | |
| download | gnulib-bd70cf691d1f9a1a514b37b5dcd675bea3b013bd.tar.gz | |
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.
Diffstat (limited to 'modules/getopt-gnu-tests')
| -rw-r--r-- | modules/getopt-gnu-tests | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/getopt-gnu-tests b/modules/getopt-gnu-tests new file mode 100644 index 0000000000..688b5ded87 --- /dev/null +++ b/modules/getopt-gnu-tests @@ -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) |
