added a skip this test restart on with-dataset
[clsql.git] / tests / datasets.lisp
index c3c17b592cf9abdd90149e77a9cc7f5a89631ec8..0d60e97022abfae8cfdcdfa7ffb66fdf97f569a3 100644 (file)
@@ -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))))