GNU bug report logs - #13064
24.4.50; Recent changes to ert.el broke "make check" on trunk

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Mon, 3 Dec 2012 05:40:02 UTC

Severity: important

Found in version 24.4.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13064 in the body.
You can then email your comments to 13064 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#13064; Package emacs. (Mon, 03 Dec 2012 05:40:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> gnu.org>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Mon, 03 Dec 2012 05:40:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; Recent changes to ert.el broke "make check" on trunk
Date: Mon, 03 Dec 2012 13:36:28 +0800
`make check' fails on latest trunk due to this commit:

  revno: 110983
  committer: Stefan Monnier <monnier <at> iro.umontreal.ca>
  branch nick: trunk
  timestamp: Thu 2012-11-22 22:26:09 -0500
  message:
  * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.

The error condition is:

1 unexpected results:
   FAILED  ert-test-record-backtrace

Test ert-test-record-backtrace condition:
    (ert-test-failed
     ((should
       (equal first-line "  signal(ert-test-failed (\"foo\"))"))
      :form
      (equal "  (closure (ert--test-body-was-run t) nil (ert-fail \"foo\"))()" "  signal(ert-test-failed (\"foo\"))")
      :value nil :explanation
      (arrays-of-different-length 61 33 "  (closure (ert--test-body-was-run t) nil (ert-fail \"foo\"))()" "  signal(ert-test-failed (\"foo\"))" first-mismatch-at 2)))


In GNU Emacs 24.3.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2012-12-02 on ulysses
Bzr revision: 111062 cyd <at> gnu.org-20121202062232-h7g8nwdfwszelw70
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.1 LTS

Configured using:
 `configure '--with-x-toolkit=gtk3' 'CFLAGS=-g''




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Mon, 13 Jan 2014 10:59:01 GMT) Full text and rfc822 format available.

Notification sent to Chong Yidong <cyd <at> gnu.org>:
bug acknowledged by developer. (Mon, 13 Jan 2014 10:59:03 GMT) Full text and rfc822 format available.

Message #10 received at 13064-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 13064-done <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#13064: 24.4.50;
 Recent changes to ert.el broke "make check" on trunk
Date: Mon, 13 Jan 2014 11:58:06 +0100
Chong Yidong <cyd <at> gnu.org> writes:

> Test ert-test-record-backtrace condition:
>     (ert-test-failed
>      ((should
>        (equal first-line "  signal(ert-test-failed (\"foo\"))"))
>       :form
>       (equal "  (closure (ert--test-body-was-run t) nil (ert-fail \"foo\"))()" "  signal(ert-test-failed (\"foo\"))")
>       :value nil :explanation
>       (arrays-of-different-length 61 33 "  (closure (ert--test-body-was-run t) nil (ert-fail \"foo\"))()" "  signal(ert-test-failed (\"foo\"))" first-mismatch-at 2)))

I've changed the string to be checked for. It is still the same for more
than a year, so I regard it as stable.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Feb 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 71 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.