[tools] winetest: Put Win8 results in their own group

André Hentschel nerv at dawncrow.de
Mon Mar 5 17:16:23 CST 2012


We also did that for win7 (before the release: 610b4b6c3f20be5463f735de6385eba01b8dddf6)
---
 winetest/build-index |    3 ++-
 winetest/dissect     |    2 ++
 winetest/gather      |    8 +++++---
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/winetest/build-index b/winetest/build-index
index 9a1c97c..a39c8e1 100755
--- a/winetest/build-index
+++ b/winetest/build-index
@@ -28,6 +28,7 @@ my %w2k3    = (name => "2003");
 my %vista   = (name => "Vista");
 my %w2k8    = (name => "2008");
 my %win7    = (name => "Win7");
+my %win8    = (name => "Win8");
 my %unknown = (name => "Other");
 my %linux   = (name => "Linux");
 my %mac     = (name => "Mac");
@@ -37,7 +38,7 @@ my %wine    = (name => "Wine");
 
 # Define the order of version groups in the summary
 my @groups = (\%w95, \%w98, \%me, \%nt3, \%nt4, \%w2k, \%xp, \%w2k3, \%vista, \%w2k8, \%win7,
-              \%unknown, \%linux, \%mac, \%bsd, \%solaris, \%wine);
+              \%win8, \%unknown, \%linux, \%mac, \%bsd, \%solaris, \%wine);
 
 my @months = ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
 
diff --git a/winetest/dissect b/winetest/dissect
index 62d0812..605292d 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -195,6 +195,8 @@ if ($plid==1 && $major==4) {
             } elsif ($product==3) {
                 $version = "2008";
             }
+        } elsif ($minor == 2) {
+            $version = "win8";
         }
     } 
 } elsif ($plid==3) {
diff --git a/winetest/gather b/winetest/gather
index 24fee0e..6503104 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -95,6 +95,7 @@ my %w2k3    = (name => "2003");
 my %vista   = (name => "Vista");
 my %w2k8    = (name => "2008");
 my %win7    = (name => "Win7");
+my %win8    = (name => "Win8");
 my %unknown = (name => "Other");
 my %linux   = (name => "Linux");
 my %mac     = (name => "Mac");
@@ -104,12 +105,13 @@ my %wine    = (name => "Wine");
 
 # Map dissect's IDs to the above hashes
 my %idmap = (95=>\%w95, 98=>\%w98, me=>\%me, nt3=>\%nt3, nt4=>\%nt4, 2000=>\%w2k,
-             xp=>\%xp, 2003=>\%w2k3, vista=>\%vista, 2008=>\%w2k8, win7=>\%win7, unknown=>\%unknown,
-             wine=>\%wine, linux=>\%linux, mac=>\%mac, bsd=>\%bsd, solaris=>\%solaris);
+             xp=>\%xp, 2003=>\%w2k3, vista=>\%vista, 2008=>\%w2k8, win7=>\%win7, win7=>\%win8,
+             unknown=>\%unknown, wine=>\%wine, linux=>\%linux, mac=>\%mac, bsd=>\%bsd,
+             solaris=>\%solaris);
 
 # Define the order of version groups in the summary
 my @groups = (\%w95, \%w98, \%me, \%nt3, \%nt4, \%w2k, \%xp, \%w2k3, \%vista, \%w2k8, \%win7,
-              \%unknown, \%linux, \%mac, \%bsd, \%solaris, \%wine);
+              \%win8, \%unknown, \%linux, \%mac, \%bsd, \%solaris, \%wine);
 
 my ($outdated,undef) = glob "$datadir/*/outdated";
 exit 2 unless defined $outdated;
-- 
1.7.7.3

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120306/9a5bc97e/attachment.ksh>


More information about the wine-patches mailing list