From 9706477f9d5feebfbc8f7de353bab36b50b260bc Mon Sep 17 00:00:00 2001 From: Raymond Toy <toy.raymond@gmail.com> Date: Fri, 14 Mar 2014 22:12:10 -0700 Subject: [PATCH] Add comments. Note that this can't be run from a build; you have to install it first. --- tests/run-tests.lisp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/run-tests.lisp b/tests/run-tests.lisp index c77fec575..1502e899c 100644 --- a/tests/run-tests.lisp +++ b/tests/run-tests.lisp @@ -3,13 +3,20 @@ ;;;; Main script to run all of the tests in the tests directory. ;;;; It is intended to be run using something like ;;;; -;;;; lisp -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)' +;;;; lisp -noinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)' +;;;; +;;;; Note that you cannot run these tests from a binary created during +;;;; a build process. You must run +;;;; +;;;; bin/make-dist.sh -I inst-dir build-dir +;;;; +;;;; to install everything in some temporary directory. This is needed +;;;; because the simple-streams test needs to load simple-streams, and +;;;; the build directory isn't set up for that. ;;;; ;;;; The exit code indicates whether there were any test failures. A ;;;; non-zero code indicates a failure of some sort. ;;;; -;;;; It is assumed that either asdf or quicklisp is set up -;;;; appropriately so that lisp-unit can be automatically loaded (defpackage :cmucl-test-runner (:use :cl) -- GitLab