Module: tools Branch: master Commit: 3be3641198ab254eaa8a8e6cfa43b4c65596bd85 URL: https://gitlab.winehq.org/winehq/tools/-/commit/3be3641198ab254eaa8a8e6cfa43...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Sep 27 17:33:30 2022 +0200
winetest: Tweak the Windows version ordering to make it easier to extend.
Use decimal numbers loosely based on Windows' major.minor version numbers. Just make sure that the fractional part always provides a sensible order.
---
winetest/build-patterns | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/winetest/build-patterns b/winetest/build-patterns index 2e909697..08121c1b 100755 --- a/winetest/build-patterns +++ b/winetest/build-patterns @@ -416,22 +416,22 @@ foreach my $build (@sortedbuilds) #
my %platform_order = ( - 95 => 1, 98 => 2, me => 3, - nt3 => 4, nt4 => 5, 2000 => 6, - xp => 7, 2003 => 8, - vista => 9, 2008 => 10, - win7 => 11, - win8 => 21, win81 => 22, - win1507 => 1507, win1511 => 1511, - win1607 => 1607, win1703 => 1703, - win1709 => 1709, win1803 => 1803, - win1809 => 1809, win1903 => 1903, - win1909 => 1909, win2004 => 2004, - win2009 => 2009, win21H1 => 2101, - win21H2 => 2107, - win10 => 2100, # for backward compatibility - wine => 3000, linux => 3001, mac => 3001, - bsd => 3002, solaris => 3003 + 95 => 2.0, 98 => 2.1, me => 2.3, + nt3 => 3.0, nt4 => 4.0, 2000 => 5.0, + xp => 5.1, 2003 => 5.2, + vista => 6.0, 2008 => 6.1, + win7 => 7.0, + win8 => 8.0, win81 => 8.1, + win1507 => 10.1507, win1511 => 10.1511, + win1607 => 10.1607, win1703 => 10.1703, + win1709 => 10.1709, win1803 => 10.1803, + win1809 => 10.1809, win1903 => 10.1903, + win1909 => 10.1909, win2004 => 10.2004, + win2009 => 10.2009, win21H1 => 10.2101, + win21H2 => 10.2107, + win10 => 10.2100, # for backward compatibility + wine => 90.0, linux => 90.1, mac => 90.2, + bsd => 90.3, solaris => 90.4 );
sub cmpreports