From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Why are the tests byte-compiled Date: Wed, 15 Jun 2016 21:23:06 +0100 Message-ID: <8760ta8amt.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1466024108 26334 80.91.229.3 (15 Jun 2016 20:55:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2016 20:55:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 15 22:54:51 2016 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 1bDHpr-00032x-5a for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2016 22:54:51 +0200 Original-Received: from localhost ([::1]:45017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDHpq-0001sZ-Do for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2016 16:54:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDHkb-0005zx-QD for emacs-devel@gnu.org; Wed, 15 Jun 2016 16:49:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDHkV-0001sf-TX for emacs-devel@gnu.org; Wed, 15 Jun 2016 16:49:24 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:33735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDHkV-0001iM-M6 for emacs-devel@gnu.org; Wed, 15 Jun 2016 16:49:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From; bh=iY9Sy/CgrqxVfTsluW1MMmSSDUR0URMQuyAFc/puK0k=; b=Qy3zhRTaVOnJg/STHX4Nm1hrYa e4/uZq7nQaJUOMtt4l80VZEv7tIiUpVDXQvqD7C8Q2xElB0iOHwDKoSSLffZwHUsIPzYC3I9Vj6No Ljodqa93LjSLHjt8fG1TsUSLx/phyeeK/dI5hJdiKdzHmH0RJWQ2SRrwgcwuDDzA/U7O7C2GfyM+1 9ipYnWk1FemHKSzgTtOkUbm5hdR2MLCIJSFF60kRXXhIQoyYCKFEXBjYKE2Xo0sOtA7WojnZS4QRQ 4KWok7LyYTANz57QVhialg+ZpVtshnfljVxxbc7ZRsSQnvF2VPXDmUl7nufgRJcObPaY3mCbawRCN TIIO75NQ==; Original-Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]:46160 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1bDHjp-002uXi-Ld for emacs-devel@gnu.org; Wed, 15 Jun 2016 21:48:37 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 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:204410 Archived-At: I'm just trying to write some tests, and I get an error like this. Test open-this-file backtrace: #[nil "\306\307!\310\311\216\n\312P\313\314!\315\216\316\314\310 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc Which is pretty useless for debugging. On the other hand, if I launch the erts using the same command as the makefile uses but directly on the source file (i.e. not byte compiled) then I get. Test open-this-file backtrace: (let ((file (concat vc-git-tests-data-dir "file1.txt")) (git-dir (ge (setq value-0 (let ((file (concat vc-git-tests-data-dir "file1.txt") which is useful. Conclusion: the emacs tests should not be byte-compiled. Or am I missing something? Phil