[PATCH] testbot/Janitor: Fix extracting the VM name from reference report filenames. (original) (raw)
Francois Gouget fgouget at codeweavers.com
Thu Dec 5 06:22:16 CST 2019
- Previous message (by thread): [PATCH vkd3d v3] vkd3d: Add a memory usage info callback optional extension.
- Next message (by thread): [PATCH] testbot/WineSendLog: Errors are not new when missing reference reports.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The log name part can contain underscores and uppercase letters when testing locales.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
testbot/bin/Janitor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl index 537a0dc4a..c51637a19 100755 --- a/testbot/bin/Janitor.pl +++ b/testbot/bin/Janitor.pl @@ -308,7 +308,7 @@ if (opendir(my dh,"dh, "dh,"DataDir/latest")) { next if ($Entry eq "." or $Entry eq ".."); - if ($Entry =~ /^(.*)[a-z0-9]+.report(?:.err)?$/) + if ($Entry =~ /^([a-zA-Z0-9]+)(?:exe|win|wow)(?:32|64)[a-zA-Z0-9]*.report(?:.err)?$/) { # Keep the reference WineTest reports for all VMs even if they are # retired or scheduled for deletion.
2.20.1
- Previous message (by thread): [PATCH vkd3d v3] vkd3d: Add a memory usage info callback optional extension.
- Next message (by thread): [PATCH] testbot/WineSendLog: Errors are not new when missing reference reports.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]