Similar tool to compile-r7rs except for running tests inside Docker
| configure | First working version. Added readme | |
| Makefile | bugfixes ( #2 ) | |
| README.md | alpine-support ( #1 ) | |
| test-r7rs | Small improvements and bugfixes | |
Tools for running Scheme tests with different implementations in Docker
Uses compile-r7rs internally.
It assumes you have docker installed and configured so that it does not need sudo.
- In addition names of snowballs, .tgz files made by snow-chibi, can be passed and they are installed before the tests are run.
- If testfile ends in .sps then akku-r7rs is also installed which allows running R7RS code on R6RS implementations
- Set LINUX to either alpine (default) or debian
- Set APK_PACKAGES environment variable to list of apk (Alpine) packages you want installed inside the Docker container
- Set APT_PACKAGES environment variable to list of apt (Debian) packages you want installed inside the Docker container
- Set SNOW_PACKAGES environment variable to list of snow-fort packages you want installed inside the Docker container
- Set AKKU_PACKAGES environment variable to list of Akku packages you want installed inside the Docker container
- CSC_OPTIONS environment variable is passed into the container
- LD_LIBRARY_PATH environment variable is passed into the container
- TIMEOUT environment variable is used as test timeout, it defaults to 60 seconds
Usage
COMPILE_R7RS=${SCHEME} test-r7rs main.scm
Usage with additional load paths
COMPILE_R7RS=${SCHEME} test-r7rs -o main -I libs -A other_libs main.scm
Usage with library snowball that needs to be installed first
snow-chibi package libs/foo/bar.sld
COMPILE_R7RS=${SCHEME} test-r7rs -o main main.scm foo-bar.tgz
Supported implementations
Same as compile-r7rs.