test harness: improve catching of usage errors in script 'test-driver'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 13 Jul 2013 22:50:15 +0000 (23:50 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 21 Jul 2013 13:00:03 +0000 (14:00 +0100)
commit0ac06406dcc6cf9c5f1fbeef340764e73cc8eae0
treecc655eed63fd2d3892d7c3d485f50c6435bcee31
parent958a8a47cfc18faaf86a8be9eec3dd8589ffd2bd
test harness: improve catching of usage errors in script 'test-driver'

Fixes automake bug#14840.

* lib/test-driver: Catch and report usage errors where the caller has
forgotten to specify one of the mandatory options (--test-name,
--log-file, --trs-file) or has not passed any non-option argument.
Also, be sure to work correctly even when no '--' special argument
is passed to separate option from non-options arguments.
* THANKS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
THANKS
lib/test-driver