WineHQ:winetest: one more corner case

Ferenc Wagner wferi at afavant.elte.hu
Tue Jan 11 11:22:52 CST 2005


ChangeLog: * Don't reject tagless reports.

Feri.

Index: winetest/gather
===================================================================
RCS file: /home/wine/tools/winetest/gather,v
retrieving revision 1.13
diff -u -r1.13 gather
--- winetest/gather	11 Jan 2005 16:33:12 -0000	1.13
+++ winetest/gather	11 Jan 2005 17:21:57 -0000
@@ -68,8 +68,11 @@
     my $testref = {};
     (my $id, my @tag) = split /_/, $dir;
     my $group = $idmap{$id};
-    $tag[0] = $idmap{$tag[0]}->{name} if $id eq "wine";
-    if (!defined $group || !defined $tag[0]) {
+    if ($id eq "wine" && defined $tag[0]) {
+        $tag[0] = $idmap{$tag[0]}->{name};
+        $group = undef unless defined $tag[0]; # make the check below fail
+    }
+    if (!defined $group) {
         print "Unknown architecture: $id in file $file\n";
         next;
     }



More information about the wine-patches mailing list