1
0
Fork
You've already forked test-r7rs
0
Similar tool to compile-r7rs except for running tests inside Docker
  • Shell 74.3%
  • Makefile 25.7%
2026年04月16日 16:12:40 +03:00
configure First working version. Added readme 2026年03月22日 09:07:16 +02:00
Makefile bugfixes ( #2 ) 2026年03月26日 07:59:59 +01:00
README.md alpine-support ( #1 ) 2026年03月25日 13:11:31 +01:00
test-r7rs Small improvements and bugfixes 2026年04月16日 16:12:40 +03:00

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.