X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-init.lisp;fp=tests%2Ftest-init.lisp;h=bd8fc99a86a45f3f4d12e780e083fc2715646843;hp=8bfa2dafd08acda7a0a1e1a952e8139228ae3217;hb=f437fdd8966b0f4bd80a2b8657bb12df07430b83;hpb=2d52344485c4cb33905086db715eacce87b3f482 diff --git a/tests/test-init.lisp b/tests/test-init.lisp index 8bfa2da..bd8fc99 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -277,6 +277,17 @@ :oodml/update-instance/6 :oodml/update-instance/7 :oodml/db-auto-sync/3 :oodml/db-auto-sync/4)) (push (cons test ":auto-increment not supported.") skip-tests)) + ((and (not (member *test-database-underlying-type* + '(:postgresql :postgresql-socket))) + (clsql-sys:in test + :time/pg/fdml/usec :time/pg/oodml/no-usec :time/pg/oodml/usec)) + (push (cons test "cant run the same date/time tests everywhere that we do on postgres because there are not standard datetime database types.") + skip-tests)) + ((and (member *test-database-underlying-type* '(:mysql)) + (clsql-sys:in test :time/cross-platform/usec/no-tz :time/cross-platform/usec/tz)) + (push (cons test "Mysql does not support fractional seconds (on timestamp columns), see http://forge.mysql.com/worklog/task.php?id=946 perhaps?") + skip-tests)) + (t (push test-form test-forms))))) (values (nreverse test-forms) (nreverse skip-tests))))