From: Kevin M. Rosenberg Date: Fri, 18 Jul 2003 23:33:53 +0000 (+0000) Subject: r5329: Auto commit for Debian build X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=bdc30e1c2c227e480722a8a0bd13ab3b05ed7973;p=puri-unicode.git r5329: Auto commit for Debian build --- diff --git a/debian/changelog b/debian/changelog index 9591700..3527958 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cl-puri (1.2.2-1) unstable; urgency=low + + * Improve tests.lisp + + -- Kevin M. Rosenberg Fri, 18 Jul 2003 17:32:11 -0600 + cl-puri (1.2.1-1) unstable; urgency=low * Package name fixes, .asd files diff --git a/tests.lisp b/tests.lisp index 8696767..eb16a1b 100644 --- a/tests.lisp +++ b/tests.lisp @@ -20,7 +20,7 @@ ;; Original version from ACL 6.1: ;; t-uri.cl,v 1.3.6.3.2.1 2001/08/09 17:42:43 layer ;; -;; $Id: tests.lisp,v 1.3 2003/07/18 23:11:37 kevin Exp $ +;; $Id: tests.lisp,v 1.4 2003/07/18 23:33:53 kevin Exp $ (defpackage #:puri-tests (:use #:puri #:cl #:util.test)) @@ -28,7 +28,7 @@ (unintern-uri t) -(defparameter *tests* +(defmacro gen-test-forms () (let ((res '()) (base-uri "http://a/b/c/d;p?q")) @@ -405,13 +405,12 @@ :condition-type 'parse-error) res) - `(progn ,@(nreverse res))) - ) + `(progn ,@(nreverse res)))) (defun do-tests () - (eval - `(with-tests (:name "puri") - ,*tests*)) + (let ((util.test:*break-on-test-failures* t)) + (with-tests (:name "puri") + (gen-test-forms))) t)