forked from chazu/ypsilon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.bat
66 lines (66 loc) · 3 KB
/
test.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@echo off
setlocal
if exist .\build-win32\Release\Ypsilon.exe goto inplace
echo ----------------------------------------
echo r4rstest.scm:
"c:\program files\Ypsilon\Ypsilon.exe" --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r4rstest.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo tspl.scm:
"c:\program files\Ypsilon\Ypsilon.exe" --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/tspl.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo arith.scm:
"c:\program files\Ypsilon\Ypsilon.exe" --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/arith.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo r5rs_pitfall.scm:
"c:\program files\Ypsilon\Ypsilon.exe" --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r5rs_pitfall.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo syntax-rule-stress-test.scm:
"c:\program files\Ypsilon\Ypsilon.exe" --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/syntax-rule-stress-test.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo r6rs.scm:
"c:\program files\Ypsilon\Ypsilon.exe" --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r6rs.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo r6rs-lib.scm:
"c:\program files\Ypsilon\Ypsilon.exe" --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r6rs-lib.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo Passed all tests
goto end
:inplace
echo ----------------------------------------
echo r4rstest.scm:
.\build-win32\Release\Ypsilon.exe --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r4rstest.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo tspl.scm:
.\build-win32\Release\Ypsilon.exe --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/tspl.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo arith.scm:
.\build-win32\Release\Ypsilon.exe --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/arith.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo r5rs_pitfall.scm:
.\build-win32\Release\Ypsilon.exe --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r5rs_pitfall.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo syntax-rule-stress-test.scm:
.\build-win32\Release\Ypsilon.exe --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/syntax-rule-stress-test.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo r6rs.scm:
.\build-win32\Release\Ypsilon.exe --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r6rs.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo r6rs-lib.scm:
.\build-win32\Release\Ypsilon.exe --acc=%TEMP% --sitelib=./test;./sitelib;./stdlib ./test/r6rs-lib.scm
if errorlevel 1 goto end
echo ----------------------------------------
echo Passed all tests
:end