Francois Gouget : winetest: Only append '.dll' if there is not already another extension.

Alexandre Julliard julliard at winehq.org
Fri Mar 14 12:15:19 CDT 2008


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Mar 14 17:26:28 2008 +0100

winetest: Only append '.dll' if there is not already another extension.

---

 winetest/gather |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/winetest/gather b/winetest/gather
index f4098ea..bf84b24 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -281,9 +281,10 @@ sub singletest($$$) {
         print OUT "      <td class=\"note\">$fail</td>\n";
     } elsif ($count eq "dll missing") {
         my ($dll, $subtest) = split(/:/, $testname);
+        $dll.=".dll" if ($dll !~ /\./);
         print OUT <<"EOF";
       <td class="skip_pass"><a
-        title="No tests run as $dll.dll is not present on this system"
+        title="No tests run as $dll is not present on this system"
         >n/a</a></td>
 EOF
     } elsif ($count eq "winetest crash") {




More information about the wine-cvs mailing list