X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest.lisp;h=99bc8bbab54ff9c0568eb3cbdabbb224ba47a79c;hb=71b6fc1cd91159a5ff28432701dea1fe85831df1;hp=553a64e4bc9505c26564e5bad53b566326d3ead3;hpb=fdc09912d20111bc61a5be162c4728c1fb5f41ed;p=fiveam.git diff --git a/src/test.lisp b/src/test.lisp index 553a64e..99bc8bb 100644 --- a/src/test.lisp +++ b/src/test.lisp @@ -12,6 +12,7 @@ ;;;; collection of tests and test suites. (deflookup-table test + :at-redefinition nil :documentation "Lookup table mapping test (and test suite) names to objects.") @@ -57,7 +58,8 @@ SUITE defaults to the current value of *SUITE*." :runtime-package ,*package* :test-lambda (lambda () - (funcall (compile nil '(lambda () ,@body)))) + (funcall (let ((*package* ,*package*)) + (compile nil '(lambda () ,@body))))) :description ,description :depends-on ',depends-on)) ,(if suite-supplied-p