Add error checking for command-line arguments to the Python regression tests.
commite0ba792c8c87f8aec19cb9148e318d6a7984a94d
authorJulian Foad <julian.foad@wandisco.com>
Tue, 8 Nov 2005 13:37:09 +0000 (8 13:37 +0000)
committerJulian Foad <julian.foad@wandisco.com>
Tue, 8 Nov 2005 13:37:09 +0000 (8 13:37 +0000)
treee20b2f7866ec409a0d13bc0b6e328259fe045728
parent1d163e001582596a78b3377c325f7c41ec22766b
Add error checking for command-line arguments to the Python regression tests.
Previously, a bad option would cause the test file to run in a default mode
as if no arguments were given, and any extra test numbers were ignored.

* subversion/tests/clients/cmdline/svntest/main.py
  (run_tests): Allow errors in option and argument parsing to be reported.
    Report an error if there are extra arguments.

git-svn-id: http://svn.apache.org/repos/asf/subversion/trunk/subversion/tests/clients/cmdline@857321 13f79535-47bb-0310-9956-ffa450edef68
svntest/main.py