[PATCH] testbot/UpdateTaskLogs: Don't rebuild .err files in --delete mode.

Francois Gouget fgouget at codeweavers.com
Fri Jan 31 06:15:14 CST 2020


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 267fdc8c0f..bbcab7d87c 100755
--- a/testbot/bin/UpdateTaskLogs
+++ b/testbot/bin/UpdateTaskLogs
@@ -286,7 +286,7 @@ sub ProcessTaskLogs($$$)
 
       if (-f $RefReportPath or -f "$RefReportPath.err")
       {
-        if (!-f "$RefReportPath.err")
+        if (!$OptDelete and !-f "$RefReportPath.err")
         {
           # (Re)Build the .err file before adding the reference report to
           # latest/.
-- 
2.20.1




More information about the wine-devel mailing list