~ chicken-core (chicken-5) f2cdae8b23264aa7fbfd4712ba018e32c5f3cba5
commit f2cdae8b23264aa7fbfd4712ba018e32c5f3cba5
Author: Kooda <kooda@upyum.com>
AuthorDate: Mon Aug 13 23:57:28 2018 +0200
Commit: Kooda <kooda@upyum.com>
CommitDate: Mon Aug 13 23:57:28 2018 +0200
Fix repository-path tests on Windows
diff --git a/tests/runtests.bat b/tests/runtests.bat
index 6826a734..abacfeb1 100644
--- a/tests/runtests.bat
+++ b/tests/runtests.bat
@@ -27,17 +27,20 @@ rmdir /q /s %CHICKEN_INSTALL_REPOSITORY%
mkdir %CHICKEN_INSTALL_REPOSITORY%
copy %TYPESDB% %CHICKEN_INSTALL_REPOSITORY%
-echo "======================================== repository search path ..."
+echo ======================================== repository search path ...
setlocal
set "CHICKEN_REPOSITORY_PATH="
%interpret% -s repository-path-default.scm
+if errorlevel 1 exit /b 1
endlocal
%compile_s% sample-module.scm -j sample-module
+if errorlevel 1 exit /b 1
copy sample-module.so %CHICKEN_INSTALL_REPOSITORY%
copy sample-module.import.scm %CHICKEN_INSTALL_REPOSITORY%
-$interpret -s repository-path.scm "%TEST_DIR%\.." "%TEST_DIR%/test-repository"
+%interpret% -s repository-path.scm "%TEST_DIR%\.." "%TEST_DIR%\test-repository"
+if errorlevel 1 exit /b 1
-echo "======================================== types.db consistency ..."
+echo ======================================== types.db consistency ...
%interpret% -s types-db-consistency.scm %TYPESDB%
if errorlevel 1 exit /b 1
Trap