test-run-program fails on MacOS and ECL
When I try to run this test, I robustly get this error:
TEST ABORTED: Reader error in file #<input stream #P"/Users/rpg/lisp/asdf/test/test-run-program.script" 0x1085383c0>, position 12148:
Unmatched right parenthesis, #\)
Backtrace:
0: (#:G2546 NIL)
1: (UIOP/STREAM:CALL-WITH-SAFE-IO-SYNTAX #(140732800802400 4432251840 140732800802336))
2: (UIOP/IMAGE:PRINT-BACKTRACE NIL)
3: (UIOP/IMAGE:PRINT-CONDITION-BACKTRACE #(1 4432255552 140732800803336))
4: (#<bytecompiled-function ASDF-TEST:ACALL 0x107994190> ((ASDF-TEST::ARGS #<a SI::SIMPLE-READER-ERROR 0x1088aa440> :COUNT 69 :STREAM #<output file "stdout" 0x1077ddc80>) (ASDF-TEST::NAME . :PRINT-CONDITION-BACKTRACE)))
5: (#<bytecompiled-function 0x107a56a00> ((416 . 0) (#:G133) (415 . #:G132) (ASDF-TEST::C . #<a SI::SIMPLE-READER-ERROR 0x1088aa440>) (:ASDF-TEST-DONE . :ASDF-TEST-DONE) (ASDF-TEST::THUNK . #<bytecompiled-closure #<bytecompiled-function 0x107c02870>>)))
6: (#<bytecompiled-function 0x107c02870> ((ASDF-TEST::NAME . "test-run-program.script") (ASDF-TEST::FILE . ASDF-TEST::|test-run-program.script|)))
7: (#<bytecompiled-function ASDF-TEST::CALL-WITH-TEST 0x107a56640> ((:ASDF-TEST-DONE . :ASDF-TEST-DONE) (ASDF-TEST::THUNK . #<bytecompiled-closure #<bytecompiled-function 0x107c02870>>)))
8: (#<bytecompiled-function ASDF-TEST:RUN-TEST-SCRIPT 0x107c02820> ((ASDF-TEST::FILE . ASDF-TEST::|test-run-program.script|)))
9: (#<bytecompiled-function SI:BYTECODES 0x108652190> NIL)
10: (#<bytecompiled-function SI:BYTECODES 0x107994870> ((SI::OUTPUT-FILE . T) (SI::C-FILE) (SI::H-FILE) (SI::DATA-FILE) (SI::VERBOSE . T) (SI::SYSTEM-P) (EXT:QUIT)))
11: (#<bytecompiled-function SI:BYTECODES 0x1079948c0> NIL)
12: (NIL NIL)
Above backtrace due to this condition:
Reader error in file #<input stream #P"/Users/rpg/lisp/asdf/test/test-run-program.script" 0x1085383c0>, position 12148:
Unmatched right parenthesis, #\)
Script failed
Using ecl, test-run-program.script failed
I do not get this error loading the file in the REPL with SLIME.
I do get it running the test through make test l=ecl t=test-run-program.script
and run-tests.sh ecl test-run-program.script
.
@frideau Any clues? This actually looks like some kind of error with parsing the .script file in ECL, but again, it does not happen in the REPL.