[tools] testbot/Janitor: Make the TestLauncher and WineTest matches stricter.

Francois Gouget fgouget at codeweavers.com
Mon Feb 14 09:57:57 CST 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/Janitor.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl
index c68920e7c5..1b5bb33c34 100755
--- a/testbot/bin/Janitor.pl
+++ b/testbot/bin/Janitor.pl
@@ -321,8 +321,8 @@ if (opendir(my $dh, "$DataDir/latest"))
     # Needed to update Windows VMs
     next if ($Entry eq "TestAgentd.exe");
     # Needed to run the tests
-    next if ($Entry =~ /^TestLauncher[0-9]*\.exe$/);
-    next if ($Entry =~ /^winetest[0-9]*-latest\.exe$/);
+    next if ($Entry =~ /^TestLauncher(?:32|64)\.exe$/);
+    next if ($Entry =~ /^winetest(?:64)?-latest\.exe$/);
 
     $Entry =~ m%^([^/]+)$%; # untaint
     my $FileName = "$DataDir/latest/$1";
-- 
2.30.2



More information about the wine-devel mailing list