[tools] winetest: Add support for Windows 10 21H1.

Francois Gouget fgouget at codeweavers.com
Sun Aug 22 07:52:12 CDT 2021


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
Some bits were missing which is why 21H1 did not appear on the website. 
Then I forgot to send this patch and wondered why it was not getting 
applied :-(

This patch modifies winetest.conf. If the website uses a copy of that 
file it will need to be updated too. That should be sufficient to get 
21H1 to appear on future builds.

Note: I have put 21H1 in the win10L category because it will get the 
miscellaneous locale configurations eventually. That means it goes next 
to 2004 for now.

Here are instructions to fix the past builds:
1. 21H1 was not yet known on the 13th which led to the "unknown" 
   category. To get those back where they should be:

   for u in data/7f1446*/unknown_*;do w=$(echo "$u" | sed -e 's/unknown_/win21H1_/'); mv "$u" "$w"; done

2. Force gather to update the index pages to take the win21H1 reports 
   into account.
   (technically only the builds from the 13th onward need an update but 
   the list is getting long so it's simpler and not that time 
   consuming to just do them all).

   gather --update-all

3. Update the main index pages
   build-index
   build-patterns

Adjusting the paths to the scripts as appropriate...

---
 winetest/build-patterns | 2 +-
 winetest/winetest.conf  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/winetest/build-patterns b/winetest/build-patterns
index a11c3de10..2ee5d5bdd 100755
--- a/winetest/build-patterns
+++ b/winetest/build-patterns
@@ -426,7 +426,7 @@ my %platform_order = (
     win1709 => 1709, win1803 => 1803,
     win1809 => 1809, win1903 => 1903,
     win1909 => 1909, win2004 => 2004,
-    win2009 => 2009,
+    win2009 => 2009, win21H1 => 2101,
     win10 => 2100, # for backward compatibility
     wine => 3000, linux => 3001, mac => 3001,
     bsd => 3002, solaris => 3003
diff --git a/winetest/winetest.conf b/winetest/winetest.conf
index 5ac2261a1..3db146a9f 100644
--- a/winetest/winetest.conf
+++ b/winetest/winetest.conf
@@ -50,7 +50,7 @@ $fixed_threshold = 0.99;
     { name => "Win1709+", ids => [ "win1709", "win1803", "win1809", "win1903" ] },
     { name => "Win1909+", ids => [ "win1909" ] },
     { name => "Win10",    ids => [ "win2009", "win10" ] }, # win10 for backward compatibility
-    { name => "Win10L",   ids => [ "win2004" ] },
+    { name => "Win10L",   ids => [ "win2004", "win21H1" ] },
     { name => "Other",    ids => [ "unknown" ] },
     { name => "Linux",    ids => [ "linux" ] },
     { name => "Mac",      ids => [ "mac" ] },
-- 
2.20.1



More information about the wine-devel mailing list