From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#51941: Detect duplication of ERT tests Date: Thu, 18 Nov 2021 18:44:15 +0100 Message-ID: <87mtm1z7dc.fsf@gnus.org> References: <21CD2DED-354E-4C46-9794-07172E3BD5F1@acm.org> <87fsrtkayn.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36519"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51941@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 18 18:45:41 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnlTh-0009JX-MQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 18:45:41 +0100 Original-Received: from localhost ([::1]:32922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnlTg-00059A-IW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 12:45:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnlT4-00052H-Mp for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:45:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnlT4-0001uq-B2 for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnlT3-0006ut-R8 for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Nov 2021 17:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51941 X-GNU-PR-Package: emacs Original-Received: via spool by 51941-submit@debbugs.gnu.org id=B51941.163725747326523 (code B ref 51941); Thu, 18 Nov 2021 17:45:01 +0000 Original-Received: (at 51941) by debbugs.gnu.org; 18 Nov 2021 17:44:33 +0000 Original-Received: from localhost ([127.0.0.1]:37108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnlSb-0006tj-AW for submit@debbugs.gnu.org; Thu, 18 Nov 2021 12:44:33 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:51330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnlSX-0006tK-95 for 51941@debbugs.gnu.org; Thu, 18 Nov 2021 12:44:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HdrHud8/oyAHZRkzl8YnIohZ5S2PQ3eeRR/tKdKyzfw=; b=OVbdhjjFVe3jrAWOmiAE2rfXrA JkdR/J5o99kqqhoJ8/7bWz/zyH1oG3IsNpHHXmGHu9HcOs916ahoCdSygUntuDuiu2b9AR7B2xHmb MIUeGiTcGqVaQUvM3i5KT9/eXnsMIT6FWLcl1QsheYntYCf+iCCdlGfIWoeecwNWlvds=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnlSN-0002mG-Kz; Thu, 18 Nov 2021 18:44:22 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEUFBQdTTExrYV4x LS0qGxgXEhI+O0CbkZL08u3duqRcRDhIMSuUcGWCeIbAl3KSXDr///8gBKJOAAAAAWJLR0QQlbIN LAAAAAd0SU1FB+ULEhEpKRyNQFQAAAGbSURBVEjHzVbZbuQwDNNpx8do/v9vl0rQ15GLboEqQZAA IkhZV4h+bCy4WCVvtgNA+t3eJiL6cwH/zfx73tYQhR+DjPt1XaPrIcIE7n0Acoa4/Sf5KcK19zF8 2UqeA0RTc8ubQHFJmWrj+5mPlDZaRdEUh8qTwKAnFM5OG9pJXpQHVUahjTygRPqLR1oUBQtFFtd4 S+/91SPesyjYZu4zpjVuc05Uh7ePgAyBPN1YkIlHpJeAuXcGQyv2lq2fAZC03rGfExgROwoGJHmO MZ+vQNRRMKAm3l8AClBUACPbCfAHMMbnGIgVoY6xfNoDiAKAU197RNYrvvAWRTEpu+5ulOVNNAEo SgNRLxGytXIEWPRdtVDTJXsthJCiducKgF6Ye4IBslDpu5yuzmt2WZCUAN5lx4FCXmDxOxOL62ns yqI2/QGfzRn0zErpJnw0ycChaB400emsBOK2U/+EINP2vYn/a+YvbMLcol0ld2K5Fl2RBlNFJ7Eq TkpP9ig8UeXNjjcQ59yDHeYNCJUugso++Q/4UiVHfw1/w/4BCNAMuTFpn/QAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjEtMTEtMThUMTc6NDE6NDErMDA6MDDA3hf8AAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIxLTExLTE4VDE3OjQxOjQxKzAwOjAwsYOvQAAAAABJRU5ErkJggg== X-Now-Playing: Bridget St John's _Songs For The Gentle Man_: "A Day Away" In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Thu, 18 Nov 2021 12:54:18 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220336 Archived-At: By the way, this reminds me of a different error I often make in ert files -- I type "defun" instead of "ert-deftest". Would it be productive to check whether a -tests.el file contains a defun that's never called? In which case it's probably supposed to be en ert-deftest. But perhaps it's such a marginal problem that it's not worth checking for. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no