diff options
| author | 2019-11-09 11:28:40 -0500 | |
|---|---|---|
| committer | 2019-11-09 11:28:40 -0500 | |
| commit | 6f1b03b67e48a68fd1e7c21c5d718263078f72a5 (patch) | |
| tree | 424083289221a500611095e17f35a43f6d3da53e /build_win.bat | |
| parent | Fix MSVC build warnings. (diff) | |
Fix build_win test-install.
On failure, cd back to original directory.
Diffstat (limited to 'build_win.bat')
| -rw-r--r-- | build_win.bat | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/build_win.bat b/build_win.bat index 163ce858..d92c4899 100644 --- a/build_win.bat +++ b/build_win.bat @@ -172,24 +172,26 @@ exit /b 0 :TESTINSTALL pushd test\install call jpm clean -@if errorlevel 1 goto :TESTFAIL +@if errorlevel 1 goto :TESTINSTALLFAIL 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 -@if errorlevel 1 goto :TESTFAIL +@if errorlevel 1 goto :TESTINSTALLFAIL call build\testexec -@if errorlevel 1 goto :TESTFAIL +@if errorlevel 1 goto :TESTINSTALLFAIL call jpm --verbose quickbin testexec.janet build\testexec2.exe -@if errorlevel 1 goto :TESTFAIL +@if errorlevel 1 goto :TESTINSTALLFAIL 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 -@if errorlevel 1 goto :TESTFAIL +@if errorlevel 1 goto :TESTINSTALLFAIL 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 -@if errorlevel 1 goto :TESTFAIL +@if errorlevel 1 goto :TESTINSTALLFAIL +:TESTINSTALLFAIL popd +goto :TESTFAIL exit /b 0 @rem build, test, dist, install. Useful for local dev. |
