[PATCH] testbot/Janitor: Update the list of files to keep in latest/.

Francois Gouget fgouget at codeweavers.com
Sun Dec 29 17:45:56 CST 2019


TestAgentd.exe and wine-parentsrc.txt were missing from the list,
resulting in error messages in the log.

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

diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl
index c51637a19..139faea94 100755
--- a/testbot/bin/Janitor.pl
+++ b/testbot/bin/Janitor.pl
@@ -307,6 +307,13 @@ if (opendir(my $dh, "$DataDir/latest"))
   foreach my $Entry (@Entries)
   {
     next if ($Entry eq "." or $Entry eq "..");
+    # Needed to analyze Wine patches
+    next if ($Entry eq "winefiles.txt" or $Entry eq "wine-parentsrc.txt");
+    # 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$/);
 
     if ($Entry =~ /^([a-zA-Z0-9_]+)_(?:exe|win|wow)(?:32|64)[a-zA-Z0-9_]*\.report(?:\.err)?$/)
     {
@@ -315,10 +322,6 @@ if (opendir(my $dh, "$DataDir/latest"))
       my $VMName = $1;
       next if ($AllVMs->GetItem($VMName));
     }
-    elsif ($Entry =~ /^(?:TestLauncher[0-9]*\.exe|winefiles.txt|winetest[0-9]*-latest\.exe)$/)
-    {
-      next;
-    }
 
     Trace "Found a suspicious latest file: $Entry\n";
     if ($JobPurgeDays != 0)
-- 
2.20.1




More information about the wine-devel mailing list