File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1212
1313(
1414 echo vim9script
15- echo # ---- dummy vimrc file content -----
15+ echo/
1616 echo set runtimepath+=..
1717 echo set runtimepath+=../after
1818 echo filetype plugin indent on
19- echo # ----------------------------------
19+ echo/
2020) >> " %VIMRC% "
2121
2222SET " VIM_CMD = %VIMPRG% --clean -u %VIMRC% -i NONE"
@@ -28,6 +28,8 @@ if NOT EXIST "%VIMRC%" (
2828)
2929
3030REM Display the contents of VIMRC (for debugging purposes)
31+ echo/
32+ echo ----- dummy_vimrc content -------
3133type " %VIMRC% "
3234
3335REM Run Vim with the specified configuration and additional commands
@@ -46,8 +48,11 @@ if %ERRORLEVEL% EQU 0 (
4648)
4749
4850REM REM Check test results
49- echo MARKDOWN_EXTRAS unit test results:
51+ echo ----------------------------------
52+ echo MARKDOWN_EXTRAS unit-test results:
53+ echo/
5054type results.txt
55+ echo/
5156
5257REM REM Check for FAIL in results.txt
5358findstr /I " FAIL" results.txt > nul 2 >& 1
@@ -56,7 +61,7 @@ if %ERRORLEVEL% EQU 0 (
5661 del %VIMRC%
5762 exit /b 1
5863) else (
59- echo All tests passed.
64+ echo SUCCESS: All tests passed.
6065)
6166
6267REM REM Exit script with success
Original file line number Diff line number Diff line change 2424VIMRC=" VIMRC"
2525
2626echo " vim9script" > " $VIMRC "
27- echo " # ---- dummy vimrc file content ----- " >> " $VIMRC "
27+ echo " "
2828echo " set runtimepath+=.." >> " $VIMRC "
2929echo " set runtimepath+=../after" >> " $VIMRC "
3030echo " filetype plugin on" >> " $VIMRC "
31- echo " # ----------------------------------- " >> " $VIMRC "
31+ echo " " >> " $VIMRC "
3232
3333# Construct the VIM_CMD with correct variable substitution and quoting
3434# VIM_CMD="$VIM_PRG -u $VIMRC -U NONE -i NONE --noplugin -N --not-a-term"
@@ -51,7 +51,10 @@ RunTestsInFile() {
5151 fi
5252 fi
5353
54+ echo " Test results: "
55+ echo " "
5456 cat results.txt
57+ echo " "
5558
5659 if grep -qw FAIL results.txt; then
5760 echo " ERROR: Some test(s) in $testfile failed."
You can’t perform that action at this time.
0 commit comments