@@ -34,11 +34,17 @@ call "%_SBT_CMD%" "dotty-bench/jmh:run 1 1 tests/pos/alias.scala"
3434if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
3535
3636rem # The above is here as it relies on the bootstrapped library.
37+ if %_DEBUG% == 1 echo [%_BASENAME% ] call " %_SBT_CMD% " " dotty-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala"
3738call " %_SBT_CMD% " " dotty-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala"
39+ if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
40+ if %_DEBUG% == 1 echo [%_BASENAME% ] call " %_SBT_CMD% " " dotty-bench-bootstrapped/jmh:run 1 1 -with-compiler compiler/src/dotty/tools/dotc/core/Types.scala"
3841call " %_SBT_CMD% " " dotty-bench-bootstrapped/jmh:run 1 1 -with-compiler compiler/src/dotty/tools/dotc/core/Types.scala"
42+ if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
3943
4044echo testing scala.quoted.Expr.run from sbt dotr
45+ if %_DEBUG% == 1 echo [%_BASENAME% ] call " %_SBT_CMD% " " ;dotty-compiler-bootstrapped/dotc tests/run-with-compiler/quote-run.scala; dotty-compiler-bootstrapped/dotr -with-compiler Test" ^ > " %_TMP_FILE% "
4146call " %_SBT_CMD% " " ;dotty-compiler-bootstrapped/dotc tests/run-with-compiler/quote-run.scala; dotty-compiler-bootstrapped/dotr -with-compiler Test" > " %_TMP_FILE% "
47+ if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
4248call :grep " val a: scala.Int = 3" " %_TMP_FILE% "
4349if not %_EXITCODE% == 0 goto end
4450
@@ -52,8 +58,10 @@ echo testing ./bin/dotc and ./bin/dotr
5258call :clear_out " %_OUT_DIR% "
5359if %_DEBUG% == 1 echo [%_BASENAME% ] call %_BIN_DIR% \dotc.bat " %_SOURCE% " -d " %_OUT_DIR% "
5460call %_BIN_DIR% \dotc.bat " %_SOURCE% " -d " %_OUT_DIR% "
61+ if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
5562if %_DEBUG% == 1 echo [%_BASENAME% ] call %_BIN_DIR% \dotr.bat -classpath " %_OUT_DIR% " " %_MAIN% " ^ > " %_TMP_FILE% "
5663call %_BIN_DIR% \dotr.bat -classpath " %_OUT_DIR% " " %_MAIN% " > " %_TMP_FILE% "
64+ if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
5765if %_DEBUG% == 1 echo [%_BASENAME% ] call :test_pattern " %_EXPECTED_OUTPUT% " " %_TMP_FILE% "
5866call :test_pattern " %_EXPECTED_OUTPUT% " " %_TMP_FILE% "
5967if not %_EXITCODE% == 0 goto end
@@ -63,14 +71,14 @@ echo testing ./bin/dotc -from-tasty and dotr -classpath
6371call :clear_out " %_OUT1_DIR% "
6472if %_DEBUG% == 1 echo [%_BASENAME% ] call %_BIN_DIR% \dotc.bat -from-tasty -classpath " %_OUT_DIR% " -d " %_OUT1_DIR% " " %_MAIN% "
6573call %_BIN_DIR% \dotc.bat -from-tasty -classpath " %_OUT_DIR% " -d " %_OUT1_DIR% " " %_MAIN% "
74+ if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
6675if %_DEBUG% == 1 echo [%_BASENAME% ] call %_BIN_DIR% \dotr.bat -classpath " %_OUT1_DIR% " " %_MAIN% " ^ > " %_TMP_FILE% "
6776call %_BIN_DIR% \dotr.bat -classpath " %_OUT1_DIR% " " %_MAIN% " > " %_TMP_FILE% "
77+ if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
6878if %_DEBUG% == 1 echo [%_BASENAME% ] call :test_pattern " %_EXPECTED_OUTPUT% " " %_TMP_FILE% "
6979call :test_pattern " %_EXPECTED_OUTPUT% " " %_TMP_FILE% "
7080if not %_EXITCODE% == 0 goto end
7181
72- rem # echo ":quit" | ./dist-bootstrapped/target/pack/bin/dotr # not supported by CI
73-
7482echo testing ./bin/dotd
7583call :clear_out " %_OUT_DIR% "
7684if %_DEBUG% == 1 echo [%_BASENAME% ] call %_BIN_DIR% \dotd.bat -project Hello -siteroot " %_OUT_DIR% " " %_SOURCE% "
0 commit comments