Alexandre Julliard : winetest: Display unknown versions as "Other" instead of ignoring them.

Alexandre Julliard julliard at winehq.org
Tue Jun 10 13:34:59 CDT 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 10 17:20:26 2008 +0200

winetest: Display unknown versions as "Other" instead of ignoring them.

---

 winetest/build-index |   27 ++++++++++++++-------------
 winetest/gather      |   27 ++++++++++++++-------------
 2 files changed, 28 insertions(+), 26 deletions(-)

diff --git a/winetest/build-index b/winetest/build-index
index 7b708f9..66b10a2 100755
--- a/winetest/build-index
+++ b/winetest/build-index
@@ -17,23 +17,24 @@ binmode STDOUT, ':utf8';
 
 $ENV{GIT_DIR} = $gitdir;
 
-my %w95   = (name => "Win95");
-my %w98   = (name => "Win98");
-my %me    = (name => "Me");
-my %nt3   = (name => "NT3");
-my %nt4   = (name => "NT4");
-my %w2k   = (name => "2000");
-my %xp    = (name => "XP");
-my %w2k3  = (name => "2003");
-my %vista = (name => "Vista");
-my %wine  = (name => "Wine");
+my %w95     = (name => "Win95");
+my %w98     = (name => "Win98");
+my %me      = (name => "Me");
+my %nt3     = (name => "NT3");
+my %nt4     = (name => "NT4");
+my %w2k     = (name => "2000");
+my %xp      = (name => "XP");
+my %w2k3    = (name => "2003");
+my %vista   = (name => "Vista");
+my %unknown = (name => "Other");
+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, wine=>\%wine);
+my %idmap = (95=>\%w95, 98=>\%w98, me=>\%me, nt3=>\%nt3, nt4=>\%nt4, 2000=>\%w2k,
+             xp=>\%xp, 2003=>\%w2k3, vista=>\%vista, unknown=>\%unknown, wine=>\%wine);
 
 # Define the order of version groups in the summary
-my @groups = (\%w95, \%w98, \%me, \%nt3, \%nt4, \%w2k, \%xp, \%w2k3, \%vista, \%wine);
+my @groups = (\%w95, \%w98, \%me, \%nt3, \%nt4, \%w2k, \%xp, \%w2k3, \%vista, \%unknown, \%wine);
 
 my @months = ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
 
diff --git a/winetest/gather b/winetest/gather
index 28431ed..6c06b39 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -81,23 +81,24 @@ my $summary_version=4;
 #  errors        The number of unit tests with errors.
 #  todos         The number of unit tests with no error but todos.
 
-my %w95   = (name => "Win95");
-my %w98   = (name => "Win98");
-my %me    = (name => "Me");
-my %nt3   = (name => "NT3");
-my %nt4   = (name => "NT4");
-my %w2k   = (name => "2000");
-my %xp    = (name => "XP");
-my %w2k3  = (name => "2003");
-my %vista = (name => "Vista");
-my %wine  = (name => "Wine");
+my %w95     = (name => "Win95");
+my %w98     = (name => "Win98");
+my %me      = (name => "Me");
+my %nt3     = (name => "NT3");
+my %nt4     = (name => "NT4");
+my %w2k     = (name => "2000");
+my %xp      = (name => "XP");
+my %w2k3    = (name => "2003");
+my %vista   = (name => "Vista");
+my %unknown = (name => "Other");
+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, wine=>\%wine);
+my %idmap = (95=>\%w95, 98=>\%w98, me=>\%me, nt3=>\%nt3, nt4=>\%nt4, 2000=>\%w2k,
+             xp=>\%xp, 2003=>\%w2k3, vista=>\%vista, unknown=>\%unknown, wine=>\%wine);
 
 # Define the order of version groups in the summary
-my @groups = (\%w95, \%w98, \%me, \%nt3, \%nt4, \%w2k, \%xp, \%w2k3, \%vista, \%wine);
+my @groups = (\%w95, \%w98, \%me, \%nt3, \%nt4, \%w2k, \%xp, \%w2k3, \%vista, \%unknown, \%wine);
 
 my ($outdated,undef) = glob "$datadir/*/outdated";
 exit 2 unless defined $outdated;




More information about the wine-cvs mailing list