X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Fdatasets.lisp;h=0d60e97022abfae8cfdcdfa7ffb66fdf97f569a3;hb=56a0b7f90d30e321ca7e95f15dab3c43bd551e3f;hp=114deaccccafe2a0becbba14dbe05d06515c4946;hpb=4f42e6bf168107ce0ffd9ed0ca0316d00301b11d;p=clsql.git diff --git a/tests/datasets.lisp b/tests/datasets.lisp index 114deac..0d60e97 100644 --- a/tests/datasets.lisp +++ b/tests/datasets.lisp @@ -20,7 +20,7 @@ should we debug (T) or just print and quit.") (when (and *dataset-debug-on-error* *debugger-hook*) (invoke-debugger e)) - (print e *error-output*) + (princ e *error-output*) (throw 'quit-dataset e)) (defmacro def-dataset (name &body body) @@ -43,7 +43,10 @@ should we debug (T) or just print and quit.") (retry-dataset-init () :report ,(format nil "Retry dataset('~a) init: (with any dataset changes)" (symbol-name name)) - (%dataset-init ,name))) + (%dataset-init ,name)) + (skip-this-test () + :report "FAIL and run the next test" + (throw 'quit-dataset :data-set-failure))) ,@body) (%dataset-cleanup ,name))))