test defs: new functions to analyze configure help screen
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 4 Nov 2011 19:15:12 +0000 (20:15 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 4 Nov 2011 19:15:12 +0000 (20:15 +0100)
commit8355b2b59221c58b33d686a0a2b4f22a19a3c330
tree924e6c98d3730065499c64d2ee82a71964b9c139
parente79b1bf3d8fa33bb4e2d4d3b6c4b1f90dd65ea40
test defs: new functions to analyze configure help screen

* tests/defs (extract_configure_help, grep_configure_help): New
functions.
* tests/maintmode-configure-msg.test: Use them, reducing code
duplication and test brittleness.
* tests/help-depend.test: Likewise.
* tests/help-depend2.test: Likewise.
* tests/help-dmalloc.test: Likewise.
* tests/help-lispdir.test: Likewise.
* tests/help-multilib.test: Likewise.
* tests/help-python.test: Likewise.
* tests/help-regex.test: Likewise.
* tests/help-silent.test: Likewise.
* tests/help-upc.test: Likewise.
* tests/help-init.test: Make grepping of configure help screen
slightly stricter.
* tests/self-check-configure-help.test: New self test.
* tests/Makefile.am (TESTS): Add it.

From a report by Jim Meyering.
16 files changed:
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/defs
tests/help-depend.test
tests/help-depend2.test
tests/help-dmalloc.test
tests/help-init.test
tests/help-lispdir.test
tests/help-multilib.test
tests/help-python.test
tests/help-regex.test
tests/help-silent.test
tests/help-upc.test
tests/maintmode-configure-msg.test
tests/self-check-configure-help.test [new file with mode: 0755]