lintian: r1235 - trunk/testset
Author: rra
Date: 2008-03-03 06:37:39 +0100 (Mon, 03 Mar 2008)
New Revision: 1235
Modified:
trunk/testset/runtests
Log:
Add a -d option that enables debug.
Modified: trunk/testset/runtests
===================================================================
--- trunk/testset/runtests 2008-03-03 05:21:41 UTC (rev 1234)
+++ trunk/testset/runtests 2008-03-03 05:37:39 UTC (rev 1235)
@@ -22,7 +22,7 @@
sub usage {
print <<END;
-Usage: $0 [-k] [-v] testset-directory testing-directory [test]
+Usage: $0 [-k] [-v] [-d] testset-directory testing-directory [test]
The -k option means do not stop after one failed test, but try
them all and report all errors.
@@ -30,6 +30,8 @@
The -v option will also display those tests that have a description, but are
not tested in any testset-package.
+The -d option will display debugging information.
+
The optional 3rd parameter causes runtests to only run that particular test.
END
exit 2;
@@ -70,6 +72,8 @@
$run_all_tests = 1;
} elsif ($ARGV[0] eq '-v') {
$verbose = 1;
+ } elsif ($ARGV[0] eq '-d') {
+ $debug = 1;
} else {
usage;
}
Reply to: