unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: 23954@debbugs.gnu.org
Subject: bug#23954: 25.1.50; Unexpected failing test
Date: Wed, 13 Jul 2016 00:34:32 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1607130032390.20872@calancha-pc> (raw)


The test 'erc-track--erc-faces-in' always fails but is not tagged
as failed.

While running the test 'char-property-alias-alist' is nil,
so that 'face cannot be translated to 'font-lock-face in the
call to 'erc-faces-in'.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
From c1ebac5d441de3154d3f786d1fff54d6c3acf9f7 Mon Sep 17 00:00:00 2001
From: Tino Calancha <tino.calancha@gmail.com>
Date: Wed, 13 Jul 2016 00:26:04 +0900
Subject: [PATCH] Fix unexpected failing test

* test/lisp/erc/erc-track-tests.el (erc-track--erc-faces-in):
Initialize 'char-property-alias-alist' (Bug#xxxxxx).
---
  test/lisp/erc/erc-track-tests.el | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/lisp/erc/erc-track-tests.el 
b/test/lisp/erc/erc-track-tests.el
index 24dfcfb..641b307 100644
--- a/test/lisp/erc/erc-track-tests.el
+++ b/test/lisp/erc/erc-track-tests.el
@@ -108,8 +108,7 @@
    "`erc-faces-in' should pick up both 'face and 'font-lock-face 
properties."
    (let ((str0 "is bold")
          (str1 "is bold")
-        ;;(char-property-alias-alist '((face font-lock-face)))
-        )
+        (char-property-alias-alist '((face font-lock-face))))
      (put-text-property 3 (length str0) 'font-lock-face
                         '(bold erc-current-nick-face) str0)
      (put-text-property 3 (length str1) 'face
-- 
2.8.1



GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.20.6)
of 2016-07-12
Repository revision: 5155144bd4cece3bab200a0eb613ffcdef523202






             reply	other threads:[~2016-07-12 15:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-12 15:34 Tino Calancha [this message]
2016-07-13 17:11 ` bug#23954: 25.1.50; Unexpected failing test Glenn Morris
2016-07-21 12:02   ` Glenn Morris
2016-07-21 12:42     ` Tino Calancha
2016-07-21 12:37   ` Tino Calancha
2016-07-21 12:59 ` bug#23954: (no subject) Tino Calancha

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1607130032390.20872@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=23954@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).