X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-init.lisp;h=84d09d3d0bbceb2d4da08110cff0a66f39c1393c;hb=89ff7b55c083fa1095be19d7388d3c490bfc90c5;hp=e3a0a03098fbad4ae001f6cccd2dff56656f9e8f;hpb=d27220b2eb7a769fe8ec1f8b674c9422dde014c9;p=clsql.git diff --git a/tests/test-init.lisp b/tests/test-init.lisp index e3a0a03..84d09d3 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -164,6 +164,11 @@ :db-info (:join-class address :home-key aaddressid :foreign-key addressid + :retrieval :immediate)) + (employee :db-kind :join + :db-info (:join-class employee + :home-key aemplid + :foreign-key emplid :retrieval :immediate))) (:base-table "ea_join")) @@ -579,6 +584,11 @@ :fdml/select/21 :fdml/select/32 :fdml/select/33)) (push (cons test "not supported by sqlite") skip-tests)) + ((and (eql *test-database-type* :sqlite3) + (clsql-sys:in test :fddl/view/4 :fdml/select/10 + :fdml/select/21 :fdml/select/32 + :fdml/select/33)) + (push (cons test "not supported by sqlite3") skip-tests)) ((and (not (clsql-sys:db-type-has-bigint? db-type)) (clsql-sys:in test :basic/bigint/1)) (push (cons test "bigint not supported") skip-tests)) @@ -596,9 +606,13 @@ (clsql-sys:in test :fdml/query/8 :fdml/select/21 :fddl/table/6)) (push (cons test "syntax not supported") skip-tests)) - ((and (not (member *test-database-underlying-type* + ((and (eq *test-database-type* :odbc) + (eq *test-database-underlying-type* :postgresql) + (clsql-sys:in test :fddl/owner/1)) + (push (cons test "table ownership not supported by postgresql odbc driver") skip-tests)) + ((and (not (member *test-database-underlying-type* '(:postgresql :oracle))) - (clsql-sys:in test :fddl/owner/1)) + (clsql-sys:in test :fddl/owner/1)) (push (cons test "table ownership not supported") skip-tests)) (t (push test-form test-forms)))))