From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: tagging ERT tests with bug numbers Date: Fri, 04 Aug 2017 09:22:26 +0200 Message-ID: <87tw1nn6fh.fsf@detlef> References: <87efsxexf5.fsf@rosalinde> <8760e4bfrn.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501831363 23244 195.159.176.226 (4 Aug 2017 07:22:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2017 07:22:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 04 09:22:36 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddWwN-0005dK-HV for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2017 09:22:35 +0200 Original-Received: from localhost ([::1]:41116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddWwT-0004MY-Lu for ged-emacs-devel@m.gmane.org; Fri, 04 Aug 2017 03:22:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddWwN-0004M4-0q for emacs-devel@gnu.org; Fri, 04 Aug 2017 03:22:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddWwJ-0008GO-JJ for emacs-devel@gnu.org; Fri, 04 Aug 2017 03:22:35 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:54169) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddWwJ-0008DB-7s for emacs-devel@gnu.org; Fri, 04 Aug 2017 03:22:31 -0400 Original-Received: from detlef.gmx.de ([212.86.47.43]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MIhDo-1dfjrf1QuO-002IeR for ; Fri, 04 Aug 2017 09:22:27 +0200 In-Reply-To: <8760e4bfrn.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 03 Aug 2017 15:41:32 -0400") X-Provags-ID: V03:K0:RjZ5y+GzsC6YJToYbBMhJ0xWS4+HuNv8rzdQlso1GGPwphzHp00 9CmTwTsMvNcoVVedLMnrtfLaApKm76QD1PS1Za7sDij2gOAY5m4d9cXCiuCyfglp7gLnIyC 0LbLvzMSGN6P8IWxz8OON4Hg9CSa6/ckwnr0izoOIwy56DhTjEq+oqMrnzJrEFLFrPqBBSz 1OCz8R3/GAzqU6D5Ht1dw== X-UI-Out-Filterresults: notjunk:1;V01:K0:AuSEndQQ4qM=:dX5LTcWEloZN1fxI/TOSR5 78eYd20/k9pe6IyoW43R4saQIHBNrCfI3DiiVIxHB2dYsghQtLVO0xIdvqtcQd+KRHme6i7sN DJBW7SJlie2SaYSU7mEQlCgdp5VSV+GSjE9o0HdAuDtUiTHWqqSLSkaOCWSAbTZ1eppVS3c+U hQpEtarINYXfs/sBgbPy6cxw5kMU31Mn/4nnifpHoJ1V6jextODdYE6JvcDicRSfpVXfQrfam ekd9I89SICiOVM+6d4RuolmKbd1YZL+nEtz9yN43cdVKOx0IFjU7S0bMRxe+xCQprlb+j9ASj E4F/IBcY6ngPCo6aVHJ8kXbDdkWUHEB+zu4ZkVwsbtHO7i43ytaB0LRZEn5zIJ4KPY1YRO0De ppbmttrDL5sg7a6bg+vflAnXaaPvVPvEdoY/leU9Ag5SExcwcwJEzERLES99Re4v7JflZyPU6 wqAp6aEH41lTE0DYr5+ZnBNFRU52aIYt+8L2Or1cLfb/c0nb0HaEzLCPOfy1i4uUpnor6xt23 4c24Jq7fnSW2aM1EHE3WtrsT0c/E8jHIQpqc5bGC4P9hxtL5/h+mfHr34CobW/GMydpzuFutm VUscvXaX2vkwWSc6pGyHa4y7RbYZulaKUObMQ5CZ29ZsqaAdvnUIkVKXCk4ahMn4PARVFwfV0 PT82a5GOJr6pglAN0WgpgfoAOzcXqs1umhInMzEH4J77M2YOj2fEexw71XO7UhVemLf9/07J6 g/ASJ+y0hcFHW4Lcta5Rt1SjX43Deld+m9ARVoQYhu6tMQDByM1lNd3kPT7nJguYBXkwc+xi X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217280 Archived-At: Ted Zlatanov writes: > I think it would be terrific if we could tag ERT tests with the bug ID > and URL, so these could be shown automatically if the test failed. > > Is there a way to do that? I know we can put properties onto symbols, > but maybe there's a way to tag ERT tests in particular? I don't see > anything in the docs besides predicates, which these tags are not. ERT tests have the :tags list. We use it for example like :tags '(:expensive-test) AFAIK, there are no restrictions on tags, so we could define our own. Something like :tags '((:bug )) And a helper function to show the bug, either via a url (derived from the bug number), or a debbugs-gnu function. > Thanks > Ted Best regards, Michael.