projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a494861
)
Fix test failure detection when dumps are enabled.
author
Pat Gavlin
<pagavlin@microsoft.com>
Thu, 16 Mar 2017 23:37:16 +0000
(16:37 -0700)
committer
Pat Gavlin
<pagavlin@microsoft.com>
Thu, 16 Mar 2017 23:41:21 +0000
(16:41 -0700)
tests/runtest.cmd
patch
|
blob
|
history
diff --git
a/tests/runtest.cmd
b/tests/runtest.cmd
index
d7f5713
..
58d4efb
100644
(file)
--- a/
tests/runtest.cmd
+++ b/
tests/runtest.cmd
@@
-233,12
+233,13
@@
del %CORE_ROOT%\mscorlib.ni.dll
set __BuildLogRootName=TestRunResults
call :msbuild "%__ProjectFilesDir%\runtest.proj" /p:Runtests=true /clp:showcommandline
+set __errorlevel=%errorlevel%
if "%__CollectDumps%"=="true" (
python "%__DumplingHelperPath%" collect_dump %errorlevel% "%__CrashDumpFolder%" %__StartTime% "CoreCLR_Tests"
)
-if
errorlevel
1 (
+if
%__errorlevel% GEQ
1 (
echo Test Run failed. Refer to the following:
echo Html report: %__TestRunHtmlLog%
exit /b 1