We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cf7fbb commit 19fb6efCopy full SHA for 19fb6ef
1 file changed
utils/hct/hcttest.cmd
@@ -371,16 +371,18 @@ call :check_result "hcttest-extras tests" %RES_EXTRAS%
371
call :check_result "hcttest-after script" %RES_HCTTEST_AFTER%
372
call :check_result "dxilconv tests" %RES_DXILCONV%
373
374
+set EXIT_CODE=%TESTS_FAILED%
375
if not "%TESTS_PASSED%"=="0" (
376
echo %TESTS_PASSED% succeeded.
377
) else if "%TESTS_FAILED%"=="0" (
378
echo No Unit tests run.
379
+ set EXIT_CODE=1
380
)
381
if not "%TESTS_FAILED%"=="0" (
382
echo %TESTS_FAILED% failed.
383
384
echo ==================================
-exit /b %TESTS_FAILED%
385
+exit /b %EXIT_CODE%
386
387
:showhelp
388
0 commit comments