summaryrefslogtreecommitdiff
path: root/run-tests.bat
diff options
context:
space:
mode:
authorpaihu <paihu@users.noreply.github.com>2018-10-22 22:58:11 +0900
committerpaihu <paihu@users.noreply.github.com>2018-10-22 22:58:11 +0900
commit0261dd2f51ef0a24719a8fc1464a600f2cce4670 (patch)
treeffc0c2623b4dab60b8e0d5fe7608f3395690930b /run-tests.bat
parenteae3f70e75b53501edd132a5a59a08d015aaeafa (diff)
downloadale-0261dd2f51ef0a24719a8fc1464a600f2cce4670.zip
cmd.exe, LABEL must have prefix ':' but have not suffix ':' ( https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/goto )
Diffstat (limited to 'run-tests.bat')
-rw-r--r--run-tests.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.bat b/run-tests.bat
index a3b47056..9ba6b554 100644
--- a/run-tests.bat
+++ b/run-tests.bat
@@ -13,7 +13,7 @@ set VADER_OUTPUT_FILE=%~dp0\vader_output
REM Automatically re-run Windows tests, which can fail some times.
set tries=0
-RUN_TESTS:
+:RUN_TESTS
set /a tries=%tries%+1
type nul > "%VADER_OUTPUT_FILE%"
C:\vim\vim\vim80\vim.exe -u test/vimrc "+Vader! %tests%"
@@ -23,7 +23,7 @@ IF %code% EQU 0 GOTO :SHOW_RESULTS
IF %tries% GEQ 2 GOTO :SHOW_RESULTS
GOTO :RUN_TESTS
-SHOW_RESULTS:
+:SHOW_RESULTS
type "%VADER_OUTPUT_FILE%"
del "%VADER_OUTPUT_FILE%"