Francois Gouget : testbot/Janitor: Update the list of files to keep in latest/.
Alexandre Julliard
julliard at winehq.org
Mon Dec 30 15:58:20 CST 2019
Module: tools
Branch: master
Commit: f86ff23f0dcc6a92d688cc440e2a3a72c8ab95cc
URL: https://source.winehq.org/git/tools.git/?a=commit;h=f86ff23f0dcc6a92d688cc440e2a3a72c8ab95cc
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Dec 30 00:45:56 2019 +0100
testbot/Janitor: Update the list of files to keep in latest/.
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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 c51637a..139faea 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)
More information about the wine-cvs
mailing list