summaryrefslogtreecommitdiff
path: root/modules/verify-tests
Commit message (Collapse)AuthorAgeFilesLines
* verify tests: Fix spurious failure with parallel make.Bruno Haible2017-04-201-2/+6
| | | | | | | | | | | * gnulib-tool (func_emit_tests_Makefile_am): Emit initialization of EXTRA_PROGRAMS. * tests/test-verify.sh: Build test-verify-try.o, not test-verify.o. * tests/test-verify-try.c: New file. * modules/verify-tests (Files): Add it. (EXTRA_PROGRAMS): Add test-verify-try. (MOSTLYCLEANFILES): Update accordingly. Reported by Adam James Stewart <ajstewart@anl.gov>.
* verify-tests: also remove stray test-verify.TpoJim Meyering2016-02-021-0/+5
| | | | | | | | * modules/verify-tests (Makefile.am): Arrange for "make clean" to remove the test-verify.Tpo file that is left behind by the automake-generated rule upon compilation failure. Otherwise, that .Tpo file would cause a failed "make distcheck" at least for grep.
* maint: remove explicit Files: tests/init.sh; depend on test-framework-shJim Meyering2011-12-231-1/+1
| | | | | | | | | | | | | | | | | | | * modules/atexit-tests: Rather than listing tests/init.sh, now that there's a module for it, simply depend on that new module. * modules/closein-tests: Likewise. * modules/exclude-tests: Likewise. * modules/getcwd-tests: Likewise. * modules/perror-tests: Likewise. * modules/pread-tests: Likewise. * modules/pwrite-tests: Likewise. * modules/vc-list-files-tests: Likewise. * modules/verify-tests: Likewise. * modules/xalloc-die-tests: Likewise. * modules/xstrtoimax-tests: Likewise. * modules/xstrtol-tests: Likewise. * modules/xstrtoll-tests: Likewise. * modules/xstrtoumax-tests: Likewise. * modules/yesno-tests: Likewise.
* verify: automate testsEric Blake2010-05-051-0/+13
Had we automated this sooner, we would have caught the issue with gcc -Werror -Wredundant-decls sooner. * modules/verify-tests: New module. * tests/test-verify.sh: New file. * tests/test-verify.c: Guard each negative test with a unique id. Also avoid warning about unused left hand of comma expressions. Signed-off-by: Eric Blake <eblake@redhat.com>