Przeglądaj źródła

Adding additional logging to native tests in CI

We've been seeing some sporadic failures that are hard to reproduce.
This causes the CI to run nativetests in a way that prints the duration
of tests, so we can see where things break.
Jimmy Thomson 7 lat temu
rodzic
commit
1181bca6b6
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      test/jenkins.testone.cmd
  2. 1 1
      test/runcitests.cmd

+ 1 - 1
test/jenkins.testone.cmd

@@ -104,7 +104,7 @@ set _error=0
   echo -- jenkins.testone.cmd ^>^> Running native tests... this can take some time
   if not exist %_LogDir%\ mkdir %_LogDir%
   set _LogFile=%_LogDir%\nativetests.log
-  call :do %_TestDir%\runnativetests.cmd -%1 -binDir %_BinDir% > %_LogFile% 2>&1
+  call :do %_TestDir%\runnativetests.cmd -%1 -binDir %_BinDir% -d yes > %_LogFile% 2>&1
   echo -- jenkins.testone.cmd ^>^> Running native tests... DONE!
 
   if "%_error%" NEQ "0" (

+ 1 - 1
test/runcitests.cmd

@@ -146,7 +146,7 @@ set _HadFailures=0
   echo -- runcitests.cmd ^>^> Running native tests... this can take some time
   if not exist %_LogDir%\ mkdir %_LogDir%
   set _LogFile=%_TestDir%\logs\%1_%2\nativetests.log
-  call :do %_TestDir%\runnativetests.cmd -%1%2 > %_LogFile% 2>&1
+  call :do %_TestDir%\runnativetests.cmd -%1%2 -d yes > %_LogFile% 2>&1
   echo -- runcitests.cmd ^>^> Running native tests... DONE!
 
   if "%_error%" NEQ "0" (