ecl/src/tests
Marius Gerbershagen d4994b33f0 cmp: fix incorrect coercion of base strings to extended strings
The compiler was coercing base strings to extended strings when
encountering them as literal objects in compiled files. According to
CLHS 3.2.4.2.2, we need to preserve the actual element type (after
upgrading) of arrays during compilation. For ECL, the actual array
element type of a base-string is base-char and therefore we can't
change this to an extended string.

Actually fixing this requires some work since we use the reader to
store a printed representation of the string in the compiled file. The
reader string syntax always returns an extended string (There is a
comment in the code which claims that this is implied by CLHS 2.4.5. I
am not quite sure if that is really true but for backwards
compatibility I don't want to change this). We thus introduce a new
syntax #"..." for base strings which is used when reading objects from
compiled files. To prevent the new syntax from leaking outside of this
context, we also introduce a new readtable.
2026-02-14 20:36:49 +01:00
..
auxiliary tests: fix output-streams test from the run-program testsuite 2020-01-19 20:06:55 +01:00
normal-tests cmp: fix incorrect coercion of base strings to extended strings 2026-02-14 20:36:49 +01:00
stress-tests tests: move interrupt tests to stress test suite 2023-08-13 22:26:53 +02:00
1am.lisp 1am: add file 2016-08-09 19:48:23 +02:00
2am.lisp tests: make finishes return the values from the executed form 2025-08-11 10:01:37 +02:00
ansi-test-expected-failures.sexp Add ansi-test to tests 2024-03-10 14:48:12 +01:00
config.lsp.in tests: implement tests for cross compilation of user code 2025-11-21 19:08:14 +01:00
cross-compile.lisp tests: implement tests for cross compilation of user code 2025-11-21 19:08:14 +01:00
doit.lsp Simplify tests structure 2016-11-17 22:35:37 +01:00
ecl-tests.asd tests: implement tests for cross compilation of user code 2025-11-21 19:08:14 +01:00
ecl-tests.lisp tests: add a regression test for compiled multiple-value-call 2023-09-15 10:19:21 +02:00
Makefile.in tests: implement tests for cross compilation of user code 2025-11-21 19:08:14 +01:00
universe.lisp ieee-fp: add tests for numeric functions with infinity/NaN 2019-08-14 20:51:40 +02:00