chibi-scheme/tests/install/run-install-test.sh
Alex Shinn 8b5eb68238 File descriptors maintain a reference count of ports open on them
They can be close()d explicitly with close-file-descriptor, and
will close() on gc, but only explicitly closing the last port on
them will close the fileno.  Notably needed for network sockets
where we open separate input and output ports on the same socket.
2014-02-20 22:32:50 +09:00

12 lines
262 B
Bash
Executable file

#!/bin/sh
export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
tar xzvf chibi-scheme-@VERSION@.tgz
cd chibi-scheme-@VERSION@
make
make install
cp tests/r5rs-tests.scm ..
cd ..
chibi-scheme r5rs-tests.scm | tee r5rs-tests.out