X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-init.lisp;h=f0ff688bfa8537c8f40db699d83f572c0db0be6f;hp=9cf50ff6b2508d47dc58e1942f8d522c835d5cd7;hb=a6576bcf62dd1e710085ec74089d0730d599001b;hpb=b746611f6d622273f1563d9d0f65b59b58714694 diff --git a/tests/test-init.lisp b/tests/test-init.lisp index 9cf50ff..f0ff688 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -551,16 +551,18 @@ (values (nreverse test-forms) (nreverse skip-tests)))) -(defun rl () +(defun rapid-load (type) "Rapid load for interactive testing." (when *default-database* (disconnect :database *default-database*)) - (test-connect-to-database :postgresql (car (postgresql-spec (read-specs)))) + (test-connect-to-database type (car (db-type-spec type (read-specs)))) (test-initialise-database)) +(defun rl () + (rapid-load :postgresql)) + (defun rlm () - "Rapid load for interactive testing." - (when *default-database* - (disconnect :database *default-database*)) - (test-connect-to-database :mysql (car (mysql-spec (read-specs)))) - (test-initialise-database)) + (rapid-load :mysql)) + +(defun rlo () + (rapid-load :odbc))