X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-init.lisp;h=981046e51f0d59b48efdd13c98ef09c3abed54ad;hb=5c67b804b62d2970685ebd8d28c88446457be975;hp=543ab871f6bfefebd69093f8cadeb4478cfeb3df;hpb=63158b2ef9d21af6454966d78b7e3ea81a9c73aa;p=clsql.git diff --git a/tests/test-init.lisp b/tests/test-init.lisp index 543ab87..981046e 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -482,7 +482,7 @@ (machine-type) db-type (if (not (eq db-type *test-database-underlying-type*)) - (format nil " with underlying type ~A" + (format nil " with underlying type ~:@(~A~)" *test-database-underlying-type*) "") )) @@ -574,11 +574,11 @@ (values (nreverse test-forms) (nreverse skip-tests)))) -(defun rapid-load (type) +(defun rapid-load (type &optional (position 0)) "Rapid load for interactive testing." (when *default-database* (disconnect :database *default-database*)) - (test-connect-to-database type (car (db-type-spec type (read-specs)))) + (test-connect-to-database type (nth position (db-type-spec type (read-specs)))) (test-initialise-database) *default-database*)