1 |
|
This directory contains a test suite for testing Common Lisp (CLtL1) |
2 |
|
implementations. |
3 |
|
|
4 |
|
In its original version it was built by |
5 |
|
|
6 |
|
Horst Friedrich, ISST of FhG <horst.friedrich@isst.fhg.de> |
7 |
|
Ingo Mohr, ISST of FhG <ingo.mohr@isst.fhg.de> |
8 |
|
Ulrich Kriegel, ISST of FhG <ulrich.kriegel@isst.fhg.de> |
9 |
|
Windfried Heicking, ISST of FhG <winfried.heicking@isst.fhg.de> |
10 |
|
Rainer Rosenmueller, ISST of FhG <rainer.rosenmueller@isst.fhg.de> |
11 |
|
|
12 |
|
at |
13 |
|
|
14 |
|
Institut für Software- und Systemtechnik der Fraunhofer-Gesellschaft |
15 |
|
(Fraunhofer Institute for Software Engineering and Systems Engineering) |
16 |
|
Kurstraße 33 |
17 |
|
D-O-1086 Berlin |
18 |
|
Germany |
19 |
|
|
20 |
|
for their Common Lisp implementation named XCL. |
21 |
|
|
22 |
|
What you see here is a version adapted to CLISP by |
23 |
|
|
24 |
|
Bruno Haible <haible@ma2s2.mathematik.uni-karlsruhe.de> |
25 |
|
|
26 |
|
at |
27 |
|
|
28 |
|
Universität Karlsruhe |
29 |
|
Mathematisches Institut II |
30 |
|
Kaiserstraße 12 |
31 |
|
D-W7500 Karlsruhe 1 |
32 |
|
Germany |
33 |
|
|
34 |
|
|
35 |
|
Operation: |
36 |
|
---------- |
37 |
|
|
38 |
|
The files *.tst contain test forms and their corresponding results. |
39 |
|
You may feed the test forms one by one to an interpreter and compare the |
40 |
|
results you get with the predicted ones. |
41 |
|
|
42 |
|
This tasks is automated by tests.lsp. Run |
43 |
|
|
44 |
|
> (load "tests") |
45 |
|
> (run-all-tests) |
46 |
|
|
47 |
|
The differences between the results and the predicted ones are |
48 |
|
recorded in *.erg files. Empty *.erg files are removed. |
49 |
|
If you can't find any *.erg files after running the tests, then your |
50 |
|
implementation has passed the tests! |
51 |
|
|
52 |
|
|
53 |
|
Notes: |
54 |
|
------ |
55 |
|
|
56 |
|
* The test suite covers only CLtL1. |
57 |
|
|
58 |
|
* The test suite is not "complete" in any sense. Anyway, it may be useful: |
59 |
|
It has uncovered at least four severe bugs in CLISP. |
60 |
|
|
61 |
|
* Some results are implementation dependent. When using other implementations |
62 |
|
than XCL and CLISP, you may wish to insert your "predicted results", |
63 |
|
protected by #+ and #-. Think twice before doing so as you may be |
64 |
|
deliberately ignoring a bug in your implementation. |
65 |
|
|
66 |
|
* The tests "hash", "readtable", "tread", "tprint" are currently not used |
67 |
|
by test.lsp. |
68 |
|
|
69 |
|
* Additions are welcome. |
70 |
|
|
71 |
|
|
72 |
|
Copyright: |
73 |
|
---------- |
74 |
|
|
75 |
|
This test suite is copyrighted by the ISST of FhG and may be distributed |
76 |
|
under the terms of the GNU General Public License (see file GNU-GPL). |
77 |
|
|