From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.devel Subject: Testing macros in ert Date: Tue, 20 Jun 2017 18:46:29 -0600 Message-ID: <874lvai2vu.fsf@lylat> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498006015 16290 195.159.176.226 (21 Jun 2017 00:46:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Jun 2017 00:46:55 +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 Wed Jun 21 02:46:50 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 1dNTnF-0003pf-PC for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2017 02:46:49 +0200 Original-Received: from localhost ([::1]:51244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNTnJ-0004OJ-CR for ged-emacs-devel@m.gmane.org; Tue, 20 Jun 2017 20:46:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNTnC-0004Nw-SE for emacs-devel@gnu.org; Tue, 20 Jun 2017 20:46:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNTn9-0000ZK-Rp for emacs-devel@gnu.org; Tue, 20 Jun 2017 20:46:46 -0400 Original-Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:35126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNTn9-0000YY-Nj for emacs-devel@gnu.org; Tue, 20 Jun 2017 20:46:43 -0400 Original-Received: by mail-io0-x22b.google.com with SMTP id k93so1521278ioi.2 for ; Tue, 20 Jun 2017 17:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=AzDRv0MVc+ElfzcmV4sGdulJ8jD7ZInZmRjFU+DO5/g=; b=hkyZtfSkpdaKd2hIa/4MBVCXyQtMGRxMVHcl1X5czz6KJ8FR1HldmfCh91dfMvjLA8 Mm4wdJnIxJb5NDhoJDOiuIxx7EQJt8JRzWxt0AmegZhmb7sJSIsGogFpIEUQ8kSiazn5 Fa8s4rewKn8d/47r8zmdXxv1qmYsPpNRjlDUM0vUCng5RQeIyZm5woObSSfG6QrmE1N8 LdzC5iakftWs4XYEgAVBARhvmJSIkHgtju4ShEnen76ylQyPtNSn3ePxQLW1Hd602VXX fbaXV+Jl5UVY2ziiIYpzOcFUYsgJBM4xjys6/8C89+FRUMxQ1clYmr0xaCuA2eBg8E0i /kVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=AzDRv0MVc+ElfzcmV4sGdulJ8jD7ZInZmRjFU+DO5/g=; b=FLw76I1vrTQ3BV6azXezZuxsXNOJIka6hWcS6a19qW3pRJEEWpeULXCawFvx4lK85T pNzsoTTxZQdOHZa5Z4gOgygY4ZiB464wrMDSg4uxpsL7j80qB6uPwJMjtMiuZ1LsZHIw L5H7YGEtG5hdGfZc+Dj3NwLnhMWtLtMrayZe6YAxUvu2qbaosc2Ld52zhlWIHMoxen6Z 0iUvWjRfWnLcWCR3SecUQnsFkRNG/tu94EdEPU77m6PhvHPQa6sCu/pv4RjolRXtqr+I S7iilHKatOumv8OkZYRTx9ptXLCorF5WnBIMzlDzu+B68FBf53XuFxUe3Hql66NFPMXd l9Cw== X-Gm-Message-State: AKS2vOxYvvU93WG5Sj58BU/BrOS6Dyt9qQLW202QUsK9+1vzYq6iBML3 MsrqrDODbMWpFF9i X-Received: by 10.107.128.228 with SMTP id k97mr28884600ioi.115.1498005999791; Tue, 20 Jun 2017 17:46:39 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id j62sm178802iod.29.2017.06.20.17.46.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jun 2017 17:46:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::22b 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:215841 Archived-At: I'm currently creating some ert tests for cl-macs, mainly for cl-loop. Is it preferred that all macros that may error, even if they should not error, be enclosed in (eval (quote ...))? Or would it be alright to not bother with the above when an error is not expected from the macro in a specific test? I suspect it wouldn't be, but I figure that I might as well ask before proceeding.