r8910: rework so that tests are automatically run for multiple backends
[clsql.git] / tests / test-oodml.lisp
index 98a93fd46ae65b6579a2de2437be2f7af32a9e56..cf9eda715d8253792e934cf2dec313f8ca46a44e 100644 (file)
@@ -3,7 +3,7 @@
 ;;;; File:    test-oodml.lisp
 ;;;; Author:  Marcus Pearce <m.t.pearce@city.ac.uk>
 ;;;; Created: 01/04/2004
-;;;; Updated: $Id$
+;;;; Updated: $Id$
 ;;;; ======================================================================
 ;;;;
 ;;;; Description ==========================================================
@@ -18,6 +18,9 @@
 
 #.(clsql:locally-enable-sql-reader-syntax)
 
+(setq *rt-oodml*
+      '(
+       
 (deftest :oodml/select/1
     (mapcar #'(lambda (e) (slot-value e 'last-name))
             (clsql:select 'employee :order-by [last-name]))
@@ -50,7 +53,7 @@
 
 ;; sqlite fails this because it is typeless 
 (deftest :oodml/select/5
-    (length (sql:select 'employee :where [married]))
+    (length (clsql:select 'employee :where [married]))
   3)
 
 ;; tests update-records-from-instance 
 ;          collect (slot-value e 'last-name))
 ;  ("Lenin" "Stalin" "Trotsky"))
 
+))
 
 #.(clsql:restore-sql-reader-syntax-state)