stdlib tests: Avoid code duplication.
authorBruno Haible <bruno@clisp.org>
Sun, 26 Sep 2010 12:21:38 +0000 (14:21 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 26 Sep 2010 12:21:38 +0000 (14:21 +0200)
commit7470a35bd9ac1cfd41fbf8c1ead1d0cad99225f1
tree67c31d950ba68a5eade727c252fc93a72fae779b
parent3275a5f301590bd6081ab6fdbcd711dc1fb2ef2a
stdlib tests: Avoid code duplication.

* modules/stdlib-tests (Files): Add tests/test-sys_wait.h.
* modules/sys_wait-tests (Files): Likewise.
* tests/test-sys_wait.h: New file, extracted from tests/test-stdlib.c.
* tests/test-stdlib.c: Include test-sys_wait.h.
(main): Invoke test_sys_wait_macros.
* tests/test-sys_wait.c: Include test-sys_wait.h.
(main): Invoke test_sys_wait_macros.
ChangeLog
modules/stdlib-tests
modules/sys_wait-tests
tests/test-stdlib.c
tests/test-sys_wait.c
tests/test-sys_wait.h [new file with mode: 0644]