Pulled a flet out into a method (select-table-sql-expr) which can be
[clsql.git] / tests / test-init.lisp
index 8064aa0df014e52c93b98b185cc2fd84065d91c3..57a3cfcb7135914e94171bcc31d23ee02a84d627 100644 (file)
 
 
 (defun run-tests (&key (report-stream *standard-output*) (sexp-report-stream nil))
+  ;; clear SQL-OUTPUT cache
+  (setq clsql-sys::*output-hash* (make-hash-table :test #'equal))
   (let ((specs (read-specs))
         (*report-stream* report-stream)
         (*sexp-report-stream* sexp-report-stream)
   (let ((test-forms '())
         (skip-tests '()))
     (dolist (test-form (append *rt-internal* *rt-connection* *rt-basic* *rt-fddl* *rt-fdml*
-                               *rt-ooddl* *rt-oodml* *rt-syntax*))
+                               *rt-ooddl* *rt-oodml* *rt-syntax* *rt-time*
+                              ))
       (let ((test (second test-form)))
         (cond
           ((and (null (clsql-sys:db-type-has-views? db-underlying-type))