X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-init.lisp;h=2da19aa2dd46af892edcbe045fff3e28802cefd7;hb=d5e6e9e5fda4a11403c04c86d3a7ab0d0b6aa3ef;hp=489b50b280ca53cfe79f2d9be30a8e81f4c5b709;hpb=7c7edf1d85706148f55a8507a261d024defa0c7c;p=clsql.git diff --git a/tests/test-init.lisp b/tests/test-init.lisp index 489b50b..2da19aa 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -18,8 +18,9 @@ (defvar *report-stream* *standard-output* "Stream to send text report.") (defvar *sexp-report-stream* nil "Stream to send sexp report.") -(defvar *rt-connection*) +(defvar *rt-internal*) (defvar *rt-basic*) +(defvar *rt-connection*) (defvar *rt-fddl*) (defvar *rt-fdml*) (defvar *rt-ooddl*) @@ -552,7 +553,7 @@ (defun compute-tests-for-backend (db-type db-underlying-type) (let ((test-forms '()) (skip-tests '())) - (dolist (test-form (append *rt-connection* *rt-basic* *rt-fddl* *rt-fdml* + (dolist (test-form (append *rt-internal* *rt-connection* *rt-basic* *rt-fddl* *rt-fdml* *rt-ooddl* *rt-oodml* *rt-syntax*)) (let ((test (second test-form))) (cond @@ -594,6 +595,10 @@ ((and (eq *test-database-type* :oracle) (clsql-sys:in test :fdml/query/8 :fdml/select/21)) (push (cons test "syntax not supported") skip-tests)) + ((and (not (member *test-database-underlying-type* + '(:postgresql :oracle))) + (clsql-sys:in test :fddl/owner/1)) + (push (cons test "table ownership not supported") skip-tests)) (t (push test-form test-forms))))) (values (nreverse test-forms) (nreverse skip-tests))))