From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Testing errors from macros with ERT and byte-compilation Date: Sun, 18 Aug 2013 14:55:31 -0400 Message-ID: References: <87zjsfnu6k.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1376852137 18656 80.91.229.3 (18 Aug 2013 18:55:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Aug 2013 18:55:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 18 20:55:40 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VB88X-0005aa-MK for ged-emacs-devel@m.gmane.org; Sun, 18 Aug 2013 20:55:37 +0200 Original-Received: from localhost ([::1]:39727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB88X-0007WT-8O for ged-emacs-devel@m.gmane.org; Sun, 18 Aug 2013 14:55:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB88T-0007WO-Es for emacs-devel@gnu.org; Sun, 18 Aug 2013 14:55:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VB88S-0003hY-Gn for emacs-devel@gnu.org; Sun, 18 Aug 2013 14:55:33 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB88S-0003hU-Cx for emacs-devel@gnu.org; Sun, 18 Aug 2013 14:55:32 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VB88R-0000JF-Ge; Sun, 18 Aug 2013 14:55:31 -0400 X-Spook: Legion of Doom NSA Comirex supercomputer bootleg X-Ran: 0::l*e;E<&fH=8LcAcrJt^Kl.[js2zT<\PQL+W0<73z*5lc^)p*"Ii{w}53)D1|J}`Y=;] X-Hue: red X-Attribution: GM In-Reply-To: <87zjsfnu6k.fsf@engster.org> (David Engster's message of "Sun, 18 Aug 2013 12:56:51 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162857 Archived-At: David Engster wrote: > Or should I just use 'no-byte-compile: t' for the test suite? It would seem overkill to do that for the entire test-suite. Why not just separate out the things that don't compile into separate file(s) and mark those no-byte-compile? How does it work now? Or use something like: (ert-deftest eieio-broken-initform () (should-error (eval '(defclass broken-init nil ((broken :initform 1 :type string)) "This class should break.") :type 'invalid-slot-type))) I feel I don't really understand what the problem is (I'm saying that a lot today, maybe it's me...).