X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/b9707689c439a7b4716fa062485305651c0ab23e..34e1c00f63526e212637f8219f9a2a3d97b0d22a:/tests.at diff --git a/tests.at b/tests.at index b7991db..b022076 100644 --- a/tests.at +++ b/tests.at @@ -54,14 +54,14 @@ lisp=$1 LISP=$m4_translit(m4_bpatsubst([$1], [/.*$], []), [a-z], [A-Z]) AT_SKIP_IF([test "x$LISP" = x]) case $lisp in - */*) opt=${lisp#*/} lisp=${lisp%%/*} ;; + */*) opt=${lisp@%:@*/} lisp=${lisp%%/*} ;; *) opt="" ;; esac case /$opt/ in */noimage/*) RUNLISP_IMAGEDIR=./notexist ;; esac]) m4_define([WHICH_LISP], -[(or #+sbcl "sbcl" #+ccl "ccl" #+clisp "clisp" - #+ecl "ecl" #+cmu "cmucl" #+abcl "abcl" +[(or @%:@+sbcl "sbcl" @%:@+ccl "ccl" @%:@+clisp "clisp" + @%:@+ecl "ecl" @%:@+cmu "cmucl" @%:@+abcl "abcl" "unknown")]) m4_define([NL], [ @@ -96,13 +96,13 @@ HOME=$(pwd)/HOME; export HOME ## Prepare the script. cat >test-script <test-script <test <script.lisp </dev/null; then good=t; else good=nil; fi case ${lisp0+t},${badlisp+t},$good in @@ -302,7 +303,7 @@ AT_CHECK_UNQUOTED([RUNLISP_PATH -L$badlisp,$lisp0,$lisp1 -d 'WHICH_LISP'],, for i in 0 1; do j=$(( 1 - $i )); eval lisp=\$lisp$i olisp=\$lisp$j cat >script$i <