Commit 1a680717 authored by Daniel Kochmański's avatar Daniel Kochmański Committed by Marius Gerbershagen
Browse files

tests: improve config.lsp to allow testing bytecmp via make check

Even when the C compiler is present. Also first install the bytecodes compiler
and then eventually try install the C compiler - that's because ASDF depends
on the :bytecmp feature to work with the bytecompiler.
parent b20a675f
......@@ -87,19 +87,23 @@
(progn
(ext:chdir *sandbox*)
(ext:setenv "TEST_IMAGE" *test-image*)
(ext:run-program *test-image*
`("-norc"
"-eval" "(print (ext:getenv \"ECLDIR\"))"
"-eval" "(ignore-errors (require :cmp))"
"-load" ,(namestring
(merge-pathnames
"tests/doit.lsp" *ecl-sources*))
"-eval" "(in-package cl-test)"
"-eval" ,(format nil "(2am-ecl:run '~a)" suites)
"-eval" "(ext:exit)")
:input nil
:output t
:error :output))
(ext:run-program
*test-image*
`("-norc"
"-eval" "(print (ext:getenv \"ECLDIR\"))"
"-eval" "(ext:install-bytecodes-compiler)"
"-eval" ,(if (ext:getenv "BYTECMP")
"t"
"(ignore-errors (ext:install-c-compiler))")
"-load" ,(namestring
(merge-pathnames
"tests/doit.lsp" *ecl-sources*))
"-eval" "(in-package cl-test)"
"-eval" ,(format nil "(2am-ecl:run '~a)" suites)
"-eval" "(ext:exit)")
:input nil
:output t
:error :output))
(ext:chdir *here*)
#+ (or)
(format t "~%Known fails: ~%~{~a~%~}~%"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment