aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-03 15:59:52 +0000
committerYang Tse <yangsita@gmail.com>2007-04-03 15:59:52 +0000
commit3344142b87627949e6fceee02041699f98b7ad9f (patch)
tree3c5284da31a34feddc667e197e24e715ebd095f8 /tests
parentf1b4f5e2ae0150d9ec0a666f4bbde8988bac9e29 (diff)
fix enumeration of disabled tests when they have the highest number
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 144952249..a6ba2012c 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2543,7 +2543,7 @@ if($skipped) {
# now show all test case numbers that had this reason for being
# skipped
my $c=0;
- for(0 .. $lasttest) {
+ for(0 .. scalar @teststat) {
my $t = $_;
if($teststat[$_] eq $r) {
logmsg ", " if($c);