File tree Expand file tree Collapse file tree 1 file changed +14
-19
lines changed Expand file tree Collapse file tree 1 file changed +14
-19
lines changed Original file line number Diff line number Diff line change @@ -35,27 +35,22 @@ for %%t in (%TEST_FILES%) do (
3535 )
3636 set TEST_FOUND = 1
3737 set /a FOUND_TESTS += 1
38- goto :next_test
39- )
40-
41- REM Try bin directory
42- if exist " %BIN_DIR_ALT% \%%t .exe" (
43- echo Running %%t from %BIN_DIR_ALT% ...
44- " %BIN_DIR_ALT% \%%t .exe" -d yes
45- if !errorlevel! equ 0 (
46- echo [OK] %%t passed
38+ ) else (
39+ REM Try bin directory
40+ if exist " %BIN_DIR_ALT% \%%t .exe" (
41+ echo Running %%t from %BIN_DIR_ALT% ...
42+ " %BIN_DIR_ALT% \%%t .exe" -d yes
43+ if !errorlevel! equ 0 (
44+ echo [OK] %%t passed
45+ ) else (
46+ echo [FAIL] %%t failed
47+ set /a FAILED_TESTS += 1
48+ )
49+ set TEST_FOUND = 1
50+ set /a FOUND_TESTS += 1
4751 ) else (
48- echo [FAIL] %%t failed
49- set /a FAILED_TESTS += 1
52+ echo Warning: %%t .exe not found
5053 )
51- set TEST_FOUND = 1
52- set /a FOUND_TESTS += 1
53- goto :next_test
54- )
55-
56- :next_test
57- if !TEST_FOUND! equ 0 (
58- echo Warning: %%t .exe not found
5954 )
6055)
6156
You can’t perform that action at this time.
0 commit comments