From 3344142b87627949e6fceee02041699f98b7ad9f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 3 Apr 2007 15:59:52 +0000 Subject: fix enumeration of disabled tests when they have the highest number --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.2.3