Alexandre Julliard : winetest: Reject all truncated reports.

Alexandre Julliard julliard at winehq.org
Thu Apr 8 10:58:21 CDT 2010


Module: tools
Branch: master
Commit: 36e92e279a19eac3c9788ccf6a9d033218221e3a
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=36e92e279a19eac3c9788ccf6a9d033218221e3a

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Apr  1 21:00:53 2010 +0200

winetest: Reject all truncated reports.

---

 winetest/dissect |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/winetest/dissect b/winetest/dissect
index 16cc118..83254fe 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -272,7 +272,6 @@ while (<IN>) {
         } else {
             $result = "$total $todo $failed $skipped";
         }
-      FINISH:
         print SUM "- $dll $unit $result $source $rev\n";
         $dll = undef;
         $total = $todo = $failed = $skipped = 0;
@@ -299,14 +298,11 @@ while (<IN>) {
 }
 if (defined $dll) {
     # Either winetest crashed or the report file was cut off
-    $_="";
     if ($filesize == $maxfilesize) {
-        $result = "failed filelimit - -";
-        $testbox->{data} .= "<div class=\"test end\">test failed: file limit exceeded</div>\n";
+        mydie "report reached file limit (runaway test?)\n"; 
     } else {
         mydie "report truncated (winetest crash?)\n"; 
     }
-    goto FINISH;
 }
 close SUM or mydie "error writing to '$tmpdir/summary.txt': $!\n";
 close IN;




More information about the wine-cvs mailing list