FATE.pm: use $ntests instead of $ntest for consistency
authorTimothy Gu <timothygu99@gmail.com>
Wed, 11 Jun 2014 01:07:50 +0000 (18:07 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 16 Jun 2014 15:10:40 +0000 (17:10 +0200)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
FATE.pm

diff --git a/FATE.pm b/FATE.pm
index bb43516..0992c96 100644 (file)
--- a/FATE.pm
+++ b/FATE.pm
@@ -107,15 +107,15 @@ sub load_summary {
     open R, '-|', "unxz -c $repdir/report.xz" or return;
     my $hdr  = split_header scalar <R> or return;
     my $conf = split_config scalar <R> or return;
-    my $ntest = 0;
+    my $ntests = 0;
     my $npass = 0;
     while (<R>) {
         my $rec = split_rec $_;
         $$rec{status} == 0 and $npass++;
-        $ntest++;
+        $ntests++;
     }
     close R;
-    return { %$hdr, %$conf, ntests => $ntest, npass => $npass };
+    return { %$hdr, %$conf, ntests => $ntests, npass => $npass };
 }
 
 sub load_report {