WineHQ: winetest fix

Ferenc Wagner wferi at afavant.elte.hu
Tue Apr 20 19:36:31 CDT 2004


ChangeLog: Look for output fragments of failed tests in the
           right directory.

Index: winetest/gather
===================================================================
RCS file: /home/wine/tools/winetest/gather,v
retrieving revision 1.4
diff -u -r1.4 gather
--- gather	24 Mar 2004 16:03:41 -0000	1.4
+++ gather	21 Apr 2004 00:32:08 -0000
@@ -196,7 +196,7 @@
         my $file = "$test->{dir}/$testname.txt";
         my ($count, $todo, $error) = @{$test->{results}->{$testname}};
         if ($count eq "failed") {
-            my $fail = -r $file?"<a href=\"$file\">failed</a>":"failed";
+            my $fail = -r "$datadir/$build/$file"?"<a href=\"$file\">failed</a>":"failed";
             print OUT "      <td class=\"note\">$fail</td>\n";
         } else {
             my $class = $error?"fail":"pass";



More information about the wine-patches mailing list