Francois Gouget : testbot/UpdateTaskLogs: MoveRefReport() is not given .err files.
Module: tools Branch: master Commit: 4c5ed9bbc5f9fbb1fbee33522fd8fde98d687578 URL: https://source.winehq.org/git/tools.git/?a=commit;h=4c5ed9bbc5f9fbb1fbee3352... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Thu Feb 6 15:12:44 2020 +0100 testbot/UpdateTaskLogs: MoveRefReport() is not given .err files. So there is no point allowing for a .err extension in the regexp splitting the report filename. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/bin/UpdateTaskLogs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbot/bin/UpdateTaskLogs b/testbot/bin/UpdateTaskLogs index 4fe6ff3..051dbe5 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.
participants (1)
-
Alexandre Julliard