do-test-platforms.sh 623 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash
#
# This script runs tests on all supported platforms
#


## Associative array (Bash 4 feature):
declare -A implementations=(
	["SBCL"]="sbcl --script"
	["Clisp"]="clisp"
	["ECL"]="ecl -load"
12 13
	["GCL"]="GCL_ANSI=1 gcl -load"
	['CCL']="ccl64 --load"
14
	["ABCL"]="java -jar /home/jeronimo/pkg/abcl/dist/abcl.jar --batch --load"
15
#	["Clasp"]="/home/jeronimo/pkg/clasp/build/clasp --load"
16
#	["XCL"]="/home/jeronimo/pkg/lisp/xcl/xcl --load"  XCL is currently not buildable
17 18 19 20 21 22 23 24 25
	)

echo "- - - - -"
for name in "${!implementations[@]}";  do
	echo "$name: "
	${implementations["$name"]} do-tests.lisp;
	echo "- - - - -"
done