[tools] testbot/WineRunTask: Extract the tests to a WineTest.exe subdirectory.

Francois Gouget fgouget at codeweavers.com
Tue Aug 31 07:35:14 CDT 2021


This simplifies shielding all the test executables from anti-virus
tools like Microsoft Defender by excluding the directory WineTest is
in.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
Next the VMs will need to be updated to explicitly tell the anti-virus 
to not scan for viruses in the directory tree where we put WineTest.exe.
---
 testbot/bin/WineRunTask.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index db274b489..ac9091d6c 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -478,7 +478,7 @@ elsif ($Step->Type eq "suite")
       $Info .=  $VM->Details;
   }
   # Escape the arguments for cmd's command interpreter
-  $Script .= "-q -o $RptFileName -t $Tag -m ". BatchQuote($AdminEMail) ." -i ". BatchQuote($Info) ."\r\n";
+  $Script .= "-q -d tests -o $RptFileName -t $Tag -m ". BatchQuote($AdminEMail) ." -i ". BatchQuote($Info) ."\r\n";
   $Script .= "$FileName -q -s $RptFileName\r\n" if (!$Mission->{nosubmit});
 }
 Debug(Elapsed($Start), " Sending the script: [$Script]\n");
-- 
2.30.2



More information about the wine-devel mailing list