]> Savannah Git Hosting - gnulib.git/commit
Split tests for getopt-posix and getopt-gnu.
authorBruno Haible <bruno@clisp.org>
Sun, 18 Dec 2016 13:03:37 +0000 (14:03 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Dec 2016 13:03:37 +0000 (14:03 +0100)
commitbd70cf691d1f9a1a514b37b5dcd675bea3b013bd
tree402eb21e96ec5a084bef4f9726092cb8f2373cba
parent3e8966603703b677b3c29003dd8c1d68dd34457c
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.
ChangeLog
modules/getopt-gnu
modules/getopt-gnu-tests [new file with mode: 0644]
modules/getopt-posix-tests
tests/test-getopt-gnu.c [new file with mode: 0644]
tests/test-getopt-main.h [new file with mode: 0644]
tests/test-getopt-posix.c [new file with mode: 0644]
tests/test-getopt.c [deleted file]