Skip to content
Snippets Groups Projects
Commit 6120d2c9 authored by Raymond Toy's avatar Raymond Toy
Browse files

Don't load site init when running unit tests

We disabled loading the user's init, but forgot to disable loading of
the site init.
parent e28f5fc2
Branches
No related tags found
1 merge request!257Fix #360: Add default-site-init file
Pipeline #11364 passed
......@@ -54,7 +54,7 @@ trap cleanup EXIT
if [ $# -eq 0 ]; then
# No args so run all the tests
$LISP -noinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)'
$LISP -nositeinit -noinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)'
else
# Run selected files. Convert each file name to uppercase and append "-TESTS"
result=""
......@@ -63,6 +63,6 @@ else
new=`echo $f | tr '[a-z]' '[A-Z]'`
result="$result "\"$new-TESTS\"
done
$LISP -noinit -load tests/run-tests.lisp -eval "(progn (cmucl-test-runner:load-test-files) (cmucl-test-runner:run-test $result))"
$LISP -nositeinit -noinit -load tests/run-tests.lisp -eval "(progn (cmucl-test-runner:load-test-files) (cmucl-test-runner:run-test $result))"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment