add an (eval-when ...) when defining a test suite
authorLuca Capello <luca@pca.it>
Sun, 1 Jul 2007 17:00:21 +0000 (17:00 +0000)
committerLuca Capello <luca@pca.it>
Sun, 1 Jul 2007 17:00:21 +0000 (17:00 +0000)
t/ref2test.lisp
t/reference-tests.lisp
t/test.lisp

index c6aea0c..2a70f13 100644 (file)
@@ -17,7 +17,8 @@
 ;; File is generated automatically from the text in reference.lisp by
 ;; the function make-reference-tests-dot-lisp in ref2test.lisp
 ;; so do not edit this file.
-(def-suite ref-tests)
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  (def-suite ref-tests))
 (in-suite ref-tests)~%~%") ; a double-quote for emacs: "
 
 (defun make-reference-tests-dot-lisp()
index c208275..e497db1 100644 (file)
@@ -3,7 +3,8 @@
 ;; File is generated automatically from the text in reference.lisp by
 ;; the function make-reference-tests-dot-lisp in ref2test.lisp
 ;; so do not edit this file.
-(def-suite ref-tests)
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  (def-suite ref-tests))
 (in-suite ref-tests)
 
 (test-ps-js statements-and-expressions-1
index b57bf97..d2c427b 100644 (file)
@@ -34,7 +34,8 @@
   (run! 'ps-tests))
 
 ;;---------------------------------------------------------------------------
-(def-suite ps-tests)
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  (def-suite ps-tests))
 (in-suite ps-tests)
 
 (test-ps-js plus-is-not-commutative