X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-init.lisp;h=c11a273155d013ed056b43fdef5628d0eb087a43;hb=4d282ef8435b5462f10e28873c85ab4d960b9fea;hp=c428467f1882bb4aa49cb5797727d94e332e35ae;hpb=9b248752b3d64b8828ea05a96e168d42ea980518;p=clsql.git diff --git a/tests/test-init.lisp b/tests/test-init.lisp index c428467..c11a273 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -26,6 +26,8 @@ (defvar *rt-oodml*) (defvar *rt-syntax*) (defvar *rt-time*) +;; Below must be set as nil since test-i18n.lisp is not loaded on all platforms. +(defvar *rt-i18n* nil) (defvar *test-database-type* nil) (defvar *test-database-underlying-type* nil) @@ -61,12 +63,16 @@ (setf *test-database-underlying-type* (clsql-sys:database-underlying-type *default-database*)) + ;; If Postgres, turn off notices to console + (when (eql db-type :postgresql) + (clsql:execute-command "SET client_min_messages = WARNING")) + *default-database*) (defun default-suites () "The default list of tests to run." (append *rt-internal* *rt-connection* *rt-basic* *rt-fddl* *rt-fdml* - *rt-ooddl* *rt-oodml* *rt-syntax* *rt-time*)) + *rt-ooddl* *rt-oodml* *rt-syntax* *rt-time* *rt-i18n*)) (defvar *error-count* 0)