Commit 02c1bee5 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau

Don't bork silently but error out loudly, when lisp is not found or not supported.

parent 44ae9b1f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment