projects
/
fiveam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rebind *package* also when compiling the tests
[fiveam.git]
/
src
/
test.lisp
diff --git
a/src/test.lisp
b/src/test.lisp
index
553a64e
..
99bc8bb
100644
(file)
--- a/
src/test.lisp
+++ b/
src/test.lisp
@@
-12,6
+12,7
@@
;;;; collection of tests and test suites.
(deflookup-table test
;;;; collection of tests and test suites.
(deflookup-table test
+ :at-redefinition nil
:documentation "Lookup table mapping test (and test suite)
names to objects.")
: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 ()
: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
:description ,description
:depends-on ',depends-on))
,(if suite-supplied-p