[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#835969: cl-ptester: Syntax error in BREAK form

Package: cl-ptester
Version: 2.1.2-6
Severity: important
Tags: patch

Dear Maintainer,

Below is a patch for an erroneous BREAK form in the upstream source code.

commit fe69fde54f4bce00ce577feb918796c293fc7253
Author: Kevin M. Rosenberg <kevin at rosenberg.net>
Date:   Mon Aug 29 08:08:23 2016 -0600

    Fix erroneous break form. Thanks to Zach Beane.

diff --git a/debian/changelog b/debian/changelog
index 2d0ff0e..d07eac5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cl-ptester (2.1.3-1) unstable; urgency=low
+  * src.lisp: Fix erroneous break form. Thanks to Zach Beane.
+ -- Kevin M. Rosenberg <kmr at debian.org>  Mon, 29 Aug 2016 08:07:33 -0600
 cl-ptester (2.1.2-4) unstable; urgency=low
   * Resume maintainership - Thanks Peter!
diff --git a/src.lisp b/src.lisp
index 984adb6..a7d4d8d 100644
--- a/src.lisp
+++ b/src.lisp
@@ -145,7 +145,7 @@ taken as a test failure unless test-error is being used.")
          (condition (condition)
            (if* (and (null ,g-catch-breaks)
                      (typep condition 'simple-break))
-              then (break condition)
+              then (break "~&Condition: ~a~%" condition)
             elseif ,g-announce
               then (format *error-output* "~&Condition type: ~a~%"
                            (class-of condition))

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-31-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages cl-ptester depends on:
pn  common-lisp-controller  <none>

cl-ptester recommends no packages.

cl-ptester suggests no packages.

Reply to: