ecl/src/tests
jjgarcia 90a0382ae8 + Fixes in the routines that deal with pathnames: it is now possible to
use *DEFAULT-PATHNAME-DEFAULTS* as current working directory, because it
is set to the initial directory and because it can be updated with SI::CHDIR.
+ Pathname versions are now properly handled and printed. At least for logical
pathnames, because physical namestrings cannot have version numbers.
+ An error is signaled when one tries to print _readably_ a pathname that does
not have a namestring such that parsing this namestring produces the same
pathname. This happens, for instance, with pathnames that do not have hosts,
or that have version numbers and are not logical.
+ Fixes in the CLOS subsystem: ADD-METHOD and REMOVE-METHOD now update the
GENERIC-FUNCTION slot of method objects, and output the right values.
It is now possible to use two nested SYMBOL-MACROLET that define the same
symbols.
2004-01-08 11:03:05 +00:00
..
alltest.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
array.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
backquot.tst Initial revision 2001-06-26 17:14:44 +00:00
ChangeLog Initial revision 2001-06-26 17:14:44 +00:00
characters.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
clos.tst Initial revision 2001-06-26 17:14:44 +00:00
conditions.tst Initial revision 2001-06-26 17:14:44 +00:00
ecl_chap11_pack.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
ecl_chap12_spec.tst Initial revision 2001-06-26 17:14:44 +00:00
ecl_chap14_cons.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
ecl_chap14_plist.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
eval20.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
excepsit.tst Initial revision 2001-06-26 17:14:44 +00:00
format.tst Fix FORMAT control ~C so that ~C behaves as WRITE-CHAR. 2003-05-27 12:33:59 +00:00
genstream.tst Initial revision 2001-06-26 17:14:44 +00:00
GNU-GPL Initial revision 2001-06-26 17:14:44 +00:00
hash.tst Initial revision 2001-06-26 17:14:44 +00:00
hashlong.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
iofkts.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
lambda.tst Initial revision 2001-06-26 17:14:44 +00:00
lists151.tst Initial revision 2001-06-26 17:14:44 +00:00
lists152.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
lists153.tst Initial revision 2001-06-26 17:14:44 +00:00
lists154.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
lists155.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
lists156.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
loop.tst Initial revision 2001-06-26 17:14:44 +00:00
macro8.tst Initial revision 2001-06-26 17:14:44 +00:00
Makefile Initial revision 2001-06-26 17:14:44 +00:00
Makefile.in Finished the port to MingW32. 2003-12-01 11:21:47 +00:00
map.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
mop.tst Initial revision 2001-06-26 17:14:44 +00:00
number.tst Initial revision 2001-06-26 17:14:44 +00:00
number2.tst Initial revision 2001-06-26 17:14:44 +00:00
pack11.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
path.tst + Fixes in the routines that deal with pathnames: it is now possible to 2004-01-08 11:03:05 +00:00
README Initial revision 2001-06-26 17:14:44 +00:00
README.ECL Initial revision 2001-06-26 17:14:44 +00:00
readtable.tst Initial revision 2001-06-26 17:14:44 +00:00
setf.tst Initial revision 2001-06-26 17:14:44 +00:00
steele7.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
streams.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
streamslong.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
strings.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
symbol10.tst Various minor fixes, and an important set of changes to teach the compiler 2003-04-28 15:55:22 +00:00
symbols.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
tests.lsp Parse properly filenames with a leading dot, like ~/.ecl.lsp or ~/.eclrc 2003-06-27 16:16:26 +00:00
tprint.tst Initial revision 2001-06-26 17:14:44 +00:00
tread.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00
type.tst The project name goes back to ECL. Therefore feature #+ECL returns and the 2001-11-21 08:07:30 +00:00

This directory contains a test suite for testing Common Lisp (CLtL1)
implementations.

In its original version it was built by

    Horst Friedrich, ISST of FhG         <horst.friedrich@isst.fhg.de>
    Ingo Mohr, ISST of FhG               <ingo.mohr@isst.fhg.de>
    Ulrich Kriegel, ISST of FhG          <ulrich.kriegel@isst.fhg.de>
    Windfried Heicking, ISST of FhG      <winfried.heicking@isst.fhg.de>
    Rainer Rosenmueller, ISST of FhG     <rainer.rosenmueller@isst.fhg.de>

at

    Institut für Software- und Systemtechnik der Fraunhofer-Gesellschaft
    (Fraunhofer Institute for Software Engineering and Systems Engineering)
    Kurstraße 33
  D-10117 Berlin
    Germany

for their Common Lisp implementation named XCL.

What you see here is a version adapted to CLISP and AKCL by

    Bruno Haible              <haible@ma2s2.mathematik.uni-karlsruhe.de>

at

    Universität Karlsruhe
    Mathematisches Institut II
    Kaiserstraße 12
  D-76131 Karlsruhe
    Germany


Operation:
----------

The files *.tst contain test forms and their corresponding results.
You may feed the test forms one by one to an interpreter and compare the
results you get with the predicted ones.

This tasks is automated by tests.lsp. Run

      > (load "tests")
      > (run-all-tests)

The differences between the results and the predicted ones are
recorded in *.erg files. Empty *.erg files are removed.
If you can't find any *.erg files after running the tests, then your
implementation has passed the tests!


Notes:
------

* The test suite covers only CLtL1.

* The test suite is not "complete" in any sense. Anyway, it may be useful:
  It has uncovered at least five severe bugs in CLISP and nineteen bugs
  in AKCL.

* Some results are implementation dependent. When using other implementations
  than XCL, CLISP and AKCL, you may wish to insert your "predicted results",
  protected by #+ and #-. Think twice before doing so as you may be
  deliberately ignoring a bug in your implementation.

* The tests "hash", "readtable", "tread", "tprint" are currently not used
  by tests.lsp.

* Additions are welcome.


Copyright:
----------

This test suite is copyrighted by the ISST of FhG and may be distributed
under the terms of the GNU General Public License (see file GNU-GPL).