From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.bugs Subject: bug#16121: 24.3.50; Type error in ERT Date: Thu, 12 Dec 2013 13:23:45 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386851124 15649 80.91.229.3 (12 Dec 2013 12:25:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Dec 2013 12:25:24 +0000 (UTC) To: 16121@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 12 13:25:29 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vr5Ka-0006IY-0h for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2013 13:25:28 +0100 Original-Received: from localhost ([::1]:35573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5KZ-0002dv-II for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2013 07:25:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5KM-0002YT-F4 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr5KB-0008Pp-FO for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5KB-0008PU-Cr for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vr5KA-00014c-D9 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Wiesner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2013 12:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16121 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13868510604044 (code B ref -1); Thu, 12 Dec 2013 12:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Dec 2013 12:24:20 +0000 Original-Received: from localhost ([127.0.0.1]:44880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr5JS-000137-SI for submit@debbugs.gnu.org; Thu, 12 Dec 2013 07:24:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37589) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr5JP-00012s-2k for submit@debbugs.gnu.org; Thu, 12 Dec 2013 07:24:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr5JG-0008Bf-K7 for submit@debbugs.gnu.org; Thu, 12 Dec 2013 07:24:14 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5JG-0008Bb-HU for submit@debbugs.gnu.org; Thu, 12 Dec 2013 07:24:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5J8-000236-2v for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr5Iz-000876-G0 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:23:57 -0500 Original-Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:46313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr5Iz-00086m-5a for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 07:23:49 -0500 Original-Received: by mail-ea0-f182.google.com with SMTP id a15so193663eae.41 for ; Thu, 12 Dec 2013 04:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=sxyFcszDbdw8AYHoWLm3Gn5prLJGOqGPx4EWv1Sv1QY=; b=ejZBgoG2CXuQO0+AOR1uuw/1Fu/2QuWVaeMk9xIGNiSlYdAnljeIrFBXZ+i/w+Ayv8 CJIKPJ0l5ZbITVqka8wOuJkNiEuUKTXdX0fHEwEVdkdycMExzNqBsCq4pA9/y6r/zGZb yXGGxcxBjGk+wFExCwQ1i5H9Dgbtml6CmS1cSRpoWRPiVZeLEgWNCUtabmndywPiU5yP p/vsRX4cFT5wEQgkneuTu5zAEw5k4lUfP17KbXkixT9qhynGpanXCoA9dibulDUMB6Xi kSojJ36HhoZMnHewUsDCCM+7YZEYyQRiknWb/K0ZO2YAy8lamFiuxuK1TmNULqCbZAkX 5CkQ== X-Received: by 10.14.208.199 with SMTP id q47mr7609545eeo.77.1386851028000; Thu, 12 Dec 2013 04:23:48 -0800 (PST) Original-Received: from lunaryorn-air (aftr-88-217-181-107.dynamic.mnet-online.de. [88.217.181.107]) by mx.google.com with ESMTPSA id 4sm35497978eed.14.2013.12.12.04.23.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Dec 2013 04:23:47 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81811 Archived-At: `ert-select-tests' tries to match a symbol against a string with `string-match', causing a `wrong-type-argument' error. The culprit is in the `string' branch of the `cl-etypecase' expression, where the following expression is used as predicate for `cl-remove-if-not': (and (ert-test-name test) (string-match selector (ert-test-name test))) However, `ert-test-name' returns a *symbol* with the name of the test. The error is fixed by applying `symbol-name' to the return value of `ert-test-name': (and (ert-test-name test) (string-match selector (symbol-name (ert-test-name test))))