This repository contains a modified version of Paul Dietz's Common Lisp standards compliance test suite, as well as additional tests specific to Clozure CL (http://github.com/Clozure/ccl).
To run the tests, you can use
make CCL=/path/to/ccl test
Alternatively, start up a ccl with /path/to/dx86cl64 -n -l load.lisp
and then evaluate (run-tests). Replace /path/to/dx86cl64 with the
path to whatever ccl you want to run the tests in.
The tests come in three groups:
ansi-tests/gclload2.lsploads the ANSI compliance tests.ansi-tests/ccl.lspandccl-tests/tests.lispcontain CCL-specific tests. New tests go inccl-tests/.ccl-tests/stress.lispcontains CCL-specific tests that take a while or use several threads.
run-tests loads all three by default. Pass :ansi nil, :ccl nil,
or :stress nil to leave one out. The make target test-ccl skips
the ANSI tests (so it runs the CCL-specific and stress tests), and
test-stress runs only the stress tests:
make CCL=/path/to/ccl test-ccl
make CCL=/path/to/ccl test-stress
A test in ccl-tests/stress.lisp should not hang or damage the lisp
it runs in. If it starts threads, it must wait for them with a
timeout, and clean up after itself.