diff --git a/test/run-tests.sh b/test/run-tests.sh index a170ec7b34155e0e05da711e3a2d835304354616..837f55a6fb11fe23be658dbab5ff699b9257154a 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -99,6 +99,7 @@ if [ -z $1 ] ; then lisp="sbcl" fi +command= case "$lisp" in sbcl) if type sbcl ; then @@ -161,12 +162,21 @@ case "$lisp" in lispworks) if type lispworks ; then fasl_ext="ofasl" - command=`which ecl` + command=`which lispworks` command="$command -siteinit - -init -" eval="-eval" fi ;; + *) + echo "Unsupported lisp: $1" >&2 + echo "Please add support to run-tests.sh" >&2 + exit 42 ;; esac +if [ -z "$command" ] ; then + echo "lisp implementation not found: $1" >&2 + exit 43 +fi + if [ -z "${DEBUG_ASDF_TEST}" ] ; then command="$command $nodebug" fi