mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 16:40:27 +00:00
Fix build_win test-install.
On failure, cd back to original directory.
This commit is contained in:
parent
dca247f01d
commit
6f1b03b67e
@ -172,24 +172,26 @@ exit /b 0
|
|||||||
:TESTINSTALL
|
:TESTINSTALL
|
||||||
pushd test\install
|
pushd test\install
|
||||||
call jpm clean
|
call jpm clean
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call jpm test
|
call jpm test
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call jpm --verbose --modpath=. install https://github.com/janet-lang/json.git
|
call jpm --verbose --modpath=. install https://github.com/janet-lang/json.git
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call build\testexec
|
call build\testexec
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call jpm --verbose quickbin testexec.janet build\testexec2.exe
|
call jpm --verbose quickbin testexec.janet build\testexec2.exe
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call build\testexec2.exe
|
call build\testexec2.exe
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call jpm --verbose --test --modpath=. install https://github.com/janet-lang/jhydro.git
|
call jpm --verbose --test --modpath=. install https://github.com/janet-lang/jhydro.git
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call jpm --verbose --test --modpath=. install https://github.com/janet-lang/path.git
|
call jpm --verbose --test --modpath=. install https://github.com/janet-lang/path.git
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
call jpm --verbose --test --modpath=. install https://github.com/janet-lang/argparse.git
|
call jpm --verbose --test --modpath=. install https://github.com/janet-lang/argparse.git
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTINSTALLFAIL
|
||||||
|
:TESTINSTALLFAIL
|
||||||
popd
|
popd
|
||||||
|
goto :TESTFAIL
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
@rem build, test, dist, install. Useful for local dev.
|
@rem build, test, dist, install. Useful for local dev.
|
||||||
|
Loading…
Reference in New Issue
Block a user