X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Frun.lisp;h=58877e05b75bad19e48dcc49a936e6eada64af77;hb=4f250825a6c2a0686666277ab394c31984f62e0c;hp=fb781759b77571ea0ba507d4dd37380defdcdcf4;hpb=5ff307e4be9cd56f872398841dc813481024ec81;p=fiveam.git diff --git a/src/run.lisp b/src/run.lisp index fb78175..58877e0 100644 --- a/src/run.lisp +++ b/src/run.lisp @@ -147,7 +147,8 @@ run.")) (abort-test e) (return-from run-it result-list))))) (restart-case - (funcall (test-lambda test)) + (let ((*readtable* (copy-readtable))) + (funcall (test-lambda test))) (retest () :report (lambda (stream) (format stream "~@" test)) @@ -170,6 +171,9 @@ run.")) (defmethod %run ((test test-case)) (run-resolving-dependencies test)) +(defmethod %run ((tests list)) + (mapc #'%run tests)) + (defmethod %run ((suite test-suite)) (let ((suite-results '())) (bind-run-state ((result-list '()))