This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Prerequisites for generating clisp


Reini Urban wrote:

More on-topic: The Cygwin clisp (2.43 and 2.44) fails to pass the test suite in the "tests" subdirectory:


$ cd clisp-2.44-1/src/clisp-2.44/tests/
$ clisp -q

Wrong! You have to override the character set from your console for those tests. See the Makefile.
"clisp -norc -E 1:1" as minimal cmdline.
"make check" is preferred.
Just some module specific tests are not yet included in the make check testsuite and have to be done manually.


[1]> (load "tests)
;; Loading file /usr/src/clisp-2.44-1/src/clisp-2.44/tests/tests.lisp ...
;; Loaded file /usr/src/clisp-2.44-1/src/clisp-2.44/tests/tests.lisp
T
[2]> (run-all-tests)
;;; many tests passed successfully, followed by:
(PROGN (DEF-CALL-OUT C-SELF (:NAME "ffi_identity") (:ARGUMENTS (FIRST (C-ARRAY-PTR UINT8))) (:RETURN-TYPE C-STRING) (:LANGUAGE :STDC)) (C-SELF #(230 151 165 230 156 172 232 170 158)))
ERROR!! "
*** - Character #\u65E5 cannot be represented in the character set
CHARSET:CP1252


The following restarts are available:
ABORT          :R1      ABORT
Break 1 FTEST[3]>

Thank you for the correction. I had been following the instructions in the (out of date?) README file in the "tests" subdirectory. (Note: There is no 'check' target in the Makefile in the "tests" subdirectory. Instead, there is a 'tests' target.)

I attempted the command that you suggested (i.e., "clisp -norc -E 1:1")
but it failed the test suite, too.  I see now that the test suite cannot be
used in a standalone fashion, but needs to be used within the cygport
framework.  Within that framework, the generated lisp passes all of
the tests in the suite (i.e., none of the 10,812 tests failed).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]