test-static-link.sh - clic - Clic is an command line interactive client for gopher written in Common LISP
(HTM) git clone git://bitreich.org/clic/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/clic/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
test-static-link.sh (329B)
---
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