3rdparties/software/cffi_0.21.0/tests/test-static-link.sh (329 bytes)
1 #!/bin/sh -eux 2 3 for l in sbcl ; do # mkcl ecl clisp sbcl 4 EX="$(cl-launch -l $l -sp cffi-toolchain -ip "(output-file :static-program-op :cffi-tests/example)")" 5 rm -f $EX ; : 6 cl-launch -l $l -sp cffi-toolchain -i "(operate :static-program-op :cffi-tests/example)" 7 [ -f $EX ] 8 [ "$($EX)" = "hello, world!" ] 9 done