Skip to content

Commit baf6789

Browse files
Updated test_samples.bat
1 parent e515625 commit baf6789

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Tests/test_samples.bat

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@echo off
22

33
setlocal ENABLEDELAYEDEXPANSION
4+
setlocal
45

56
set num_args=0
67
for %%x in (%*) do set /A num_args+=1
@@ -25,11 +26,9 @@ if "%num_args%" LSS "3" (
2526
echo test_samples.bat c:\Projects\DiligentEngine\build\Win64 Debug c:\Projects\DiligentTestData\GoldenImages compare
2627
echo.
2728
echo To capture golden images, use 'capture'
28-
EXIT /B -1
29+
EXIT /B 1
2930
)
3031

31-
SETLOCAL
32-
3332
set DILIGENT_BUILD_DIR=%~1
3433
shift
3534

@@ -90,8 +89,6 @@ if "%TESTS_FAILED%" NEQ "0" (
9089
echo %FONT_RED%In total !TESTS_FAILED! tests FAILED%FONT_DEFAULT%
9190
)
9291

93-
ENDLOCAL
94-
9592
exit /B !TESTS_FAILED!
9693

9794

0 commit comments

Comments
 (0)