[PATCH] testbot/UpdateTaskLogs: MoveRefReport() is not given .err files.

Francois Gouget fgouget at codeweavers.com
Thu Feb 6 08:12:44 CST 2020


So there is no point allowing for a .err extension in the regexp
splitting the report filename.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/UpdateTaskLogs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/UpdateTaskLogs b/testbot/bin/UpdateTaskLogs
index f259302a20..c6f7b753d3 100755
--- a/testbot/bin/UpdateTaskLogs
+++ b/testbot/bin/UpdateTaskLogs
@@ -270,7 +270,7 @@ sub MoveRefReport($$;$)
 
   $NewDir ||= $RefDir;
   my $NewName = $RefName;
-  if ($RefName =~ /^([a-zA-Z0-9_]+)_((?:exe|win|wow)(?:32|64)[a-zA-Z0-9_]*\.report(?:\.err)?)$/)
+  if ($RefName =~ /^([a-zA-Z0-9_]+)_((?:exe|win|wow)(?:32|64)[a-zA-Z0-9_]*\.report)$/)
   {
     # We don't know which job generated this reference log.
     # So use a fixed, arbitrary JobId.
-- 
2.20.1




More information about the wine-devel mailing list