[tools] winetest/dissect: Fix the 'failed' summary lines.

Francois Gouget fgouget at codeweavers.com
Fri Feb 19 07:40:23 CST 2021


The source must always be in the 8th field, not the 6th!
So put placeholders to replace the failure and skip counts.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
This bug causes 'uninitialized value' errors in gather when it fails 
to find a source file to link to.
---
 winetest/dissect | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/winetest/dissect b/winetest/dissect
index 73eae4b8c..32c4a9269 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -798,7 +798,7 @@ while ($line = <IN>) {
         if ($l_rc == 258)
         {
             add_test_line("end", "Test failed: timed out");
-            $summary = "failed 258";
+            $summary = "failed 258 - -";
             $extra_failures++;
             $broken = 1;
         }
@@ -808,7 +808,7 @@ while ($line = <IN>) {
             if ($l_rc & 0xc0000000)
             {
                 add_test_line("end", sprintf("Test failed: crash (%08x)", $l_rc & 0xffffffff));
-                $summary = "failed crash";
+                $summary = "failed crash - -";
                 $extra_failures++;
                 $broken = 1;
             }
@@ -821,7 +821,7 @@ while ($line = <IN>) {
         elsif ($l_rc & 0xc0000000)
         {
             add_test_line("end", sprintf("Test failed: crash (%08x)", $l_rc & 0xffffffff));
-            $summary = "failed crash";
+            $summary = "failed crash - -";
             $extra_failures++;
             $broken = 1;
         }
-- 
2.20.1



More information about the wine-devel mailing list