all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: 68401@debbugs.gnu.org
Subject: bug#68401: 30.0.50; ERC 5.6-git: `erc-cmd-GMSG', `erc-cmd-AMSG', `erc-cmd-GME', `erc-cmd-AME'. 2nd attempt
Date: Tue, 23 Jan 2024 14:42:19 +0100	[thread overview]
Message-ID: <87il3ki2tg.fsf@dataswamp.org> (raw)
In-Reply-To: <87v87yvnly.fsf@dataswamp.org>

J.P. wrote:

> The attached patch is a unit test for all four commands.
> It doesn't bother asserting M-x behavior (because see
> above). Please try to make it pass without changing the test
> itself (unless there's a bug).
>
>   $ git am /tmp/0002-5.x-Add...etc.patch
>
>   $ make -C test lisp/erc/erc-scenarios-misc-commands.log \
>     SELECTOR=erc-scenarios-misc-commands--AMSG-GMSG-AME-GME

The test failed

  (error "Failed awaiting: string: <alice> bob: Our queen and all")

Here is the entire erc-scenarios-misc-commands.log

Source file `/home/incal/src/emacs/lisp/emacs-lisp/bytecomp.el' newer than byte-compiled file; using older file
Source file `/home/incal/src/emacs/lisp/erc/erc.el' newer than byte-compiled file; using older file
Source file `/home/incal/src/emacs/lisp/erc/erc-common.el' newer than byte-compiled file; using older file
Source file `/home/incal/src/emacs/lisp/auth-source.el' newer than byte-compiled file; using older file
Running 1 tests (2024-01-23 14:35:36+0100, selector `erc-scenarios-misc-commands--AMSG-GMSG-AME-GME')
Source file `/home/incal/src/emacs/lisp/erc/erc-button.el' newer than byte-compiled file; using older file
Source file `/home/incal/src/emacs/lisp/erc/erc-track.el' newer than byte-compiled file; using older file
Error running timer `erc-d--on-request': (error "Match failed: \"PRIVMSG #bar :1 foonet only\" (:exes (\"\\\\`PRIVMSG #bar :2 barnet only\") :dialog amsg-barnet)")
Test erc-scenarios-misc-commands--AMSG-GMSG-AME-GME backtrace:
Source file `/home/incal/src/emacs/lisp/help-fns.el' newer than byte-compiled file; using older file
  error("Failed awaiting: %s" "string: <alice> bob: Our queen and all"
  (if inverted (setq inverted nil) (error "Failed awaiting: %s" (forma
  (progn (if inverted (setq inverted nil) (error "Failed awaiting: %s"
  (if (eq -with-timeout-value- 'timeout) (progn (if inverted (setq inv
  (let ((-with-timeout-value- (catch 'timeout (let* ((-with-timeout-ti
  (let ((time-out (abs timeout)) (inverted (< timeout 0)) (result 'res
  (let ((ert--infos (cons (cons "Info: " (concat erc-d-t--wait-message
  (let* ((rxp (consp text)) (fun (if rxp #'search-forward-regexp #'sea
  (save-restriction (widen) (let* ((rxp (consp text)) (fun (if rxp #'s
  erc-d-t-search-for(10 "<alice> bob: Our queen and all" #<marker in n
  (let* ((pos (cdr (assq (current-buffer) positions))) (erc-d-t--wait-
  (closure ((positions (#<killed buffer> . #<marker in no buffer>) (#<
  funcall((closure ((positions (#<killed buffer> . #<marker in no buff
  (save-current-buffer (set-buffer "#foo") (funcall expect 10 "<tester
  (let ((ert--infos (cons (cons "Info: " "/AMSG only sent to issuing c
  (progn (erc-scenarios-common--add-silence) (let ((ert--infos (cons (
  (unwind-protect (progn (erc-scenarios-common--add-silence) (let ((er
  (let* ((orig-autojoin-mode (and (boundp 'erc-autojoin-mode) erc-auto
  (closure (t) nil (let* ((orig-autojoin-mode (and (boundp 'erc-autojo
  #f(compiled-function () #<bytecode -0x199f34135bd6a333>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x199f34135bd6a33
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name erc-scenarios-misc-commands--AMSG-GMS
  ert-run-or-rerun-test(#s(ert--stats :selector erc-scenarios-misc-com
  ert-run-tests(erc-scenarios-misc-commands--AMSG-GMSG-AME-GME #f(comp
  ert-run-tests-batch(erc-scenarios-misc-commands--AMSG-GMSG-AME-GME)
  ert-run-tests-batch-and-exit(erc-scenarios-misc-commands--AMSG-GMSG-
  eval((ert-run-tests-batch-and-exit 'erc-scenarios-misc-commands--AMS
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/erc/erc-scenarios-mi
  command-line()
  normal-top-level()
Test erc-scenarios-misc-commands--AMSG-GMSG-AME-GME condition:
    Info: /AMSG only sent to issuing context's server
    Info: string: <alice> bob: Our queen and all
    (error "Failed awaiting: string: <alice> bob: Our queen and all")
Source file `/home/incal/src/emacs/lisp/vc/vc-git.el' newer than byte-compiled file; using older file
   FAILED  1/1  erc-scenarios-misc-commands--AMSG-GMSG-AME-GME (10.450133 sec) at lisp/erc/erc-scenarios-misc-commands.el:133

Ran 1 tests, 0 results as expected, 1 unexpected (2024-01-23 14:35:47+0100, 10.618589 sec)

1 unexpected results:
   FAILED  erc-scenarios-misc-commands--AMSG-GMSG-AME-GME

-- 
underground experts united
https://dataswamp.org/~incal






  parent reply	other threads:[~2024-01-23 13:42 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87v87yvnly.fsf@dataswamp.org>
2024-01-12 12:08 ` bug#68401: 30.0.50; ERC 5.6-git: `erc-cmd-GMSG', `erc-cmd-AMSG', `erc-cmd-GME', `erc-cmd-AME'. 2nd attempt Eli Zaretskii
2024-01-12 14:12   ` Emanuel Berg
2024-01-12 14:39     ` Eli Zaretskii
2024-01-13  2:09       ` Emanuel Berg
2024-01-13  2:31         ` Emanuel Berg
2024-01-13  2:45           ` Emanuel Berg
2024-01-13  7:23           ` Eli Zaretskii
2024-01-14  9:11             ` Emanuel Berg
     [not found] ` <834jfikb4d.fsf@gnu.org>
2024-01-12 12:36   ` Emanuel Berg
     [not found]   ` <87ply6vidl.fsf@dataswamp.org>
2024-01-12 14:03     ` Eli Zaretskii
2024-01-12 14:30       ` Emanuel Berg
     [not found]   ` <87mstavias.fsf@dataswamp.org>
     [not found]     ` <87wmseoskl.fsf@dataswamp.org>
2024-01-19  2:58       ` J.P.
2024-01-22 10:18         ` Emanuel Berg
2024-01-22 15:11           ` J.P.
2024-01-22 17:00             ` Emanuel Berg
2024-01-22 19:23               ` Emanuel Berg
     [not found]                 ` <87y1ch851b.fsf@igel.home>
2024-01-22 21:05                   ` Emanuel Berg
2024-01-22 21:27                 ` J.P.
2024-01-23  4:25                   ` Emanuel Berg
2024-01-23  4:32                     ` Emanuel Berg
2024-01-23  6:20                       ` Emanuel Berg
2024-01-23 13:31                         ` Emanuel Berg
2024-01-24  0:36                           ` J.P.
2024-01-24  0:56                             ` Emanuel Berg
2024-01-24  1:38                               ` J.P.
2024-01-24  2:01                                 ` Emanuel Berg
2024-01-23 13:42         ` Emanuel Berg [this message]
2024-01-24  0:34           ` J.P.
2024-01-24  1:28             ` Emanuel Berg
2024-01-24  1:38               ` Emanuel Berg
2024-01-24 11:15               ` Emanuel Berg
2024-01-24 11:55                 ` Emanuel Berg
2024-02-05  0:52                   ` Emanuel Berg
2024-02-06  3:44                     ` J.P.
2024-02-11  1:58                       ` Emanuel Berg
2024-02-11  2:27                       ` Emanuel Berg
2024-02-11  3:30                         ` Emanuel Berg
2024-02-11  3:52                           ` Emanuel Berg
2024-02-14  1:42                             ` J.P.
2024-02-17  5:21                               ` Emanuel Berg
2024-02-17  8:52                               ` Emanuel Berg
2024-02-21  1:11                                 ` J.P.
     [not found]                                 ` <87ttm2boza.fsf@neverwas.me>
2024-02-21  1:16                                   ` Emanuel Berg
2024-03-01  0:18                                     ` J.P.
2024-01-12 10:43 Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87il3ki2tg.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=68401@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.