[FFmpeg-devel] [FATESERVER/PATCH 4/8] FATE.pm: use $ntests instead of $ntest for consistency

Timothy Gu timothygu99 at gmail.com
Wed Jun 11 03:07:50 CEST 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 FATE.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/FATE.pm b/FATE.pm
index bb43516..0992c96 100644
--- 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 {
-- 
1.9.1



More information about the ffmpeg-devel mailing list