all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: phillip.lord@russet.org.uk, emacs-devel@gnu.org
Subject: RE: Why are the tests byte-compiled
Date: Wed, 15 Jun 2016 14:55:29 -0700 (PDT)	[thread overview]
Message-ID: <c3efc058-4a9d-4196-a171-66e4897c4def@default> (raw)
In-Reply-To: <8760ta8amt.fsf@russet.org.uk>

> 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!\x1c\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?

Backtraces include byte-code for code that was compiled.  They
should not.  Rather, it should at least be possible for a user
or a program to elide the byte-code in a backtrace.

Bug #6991, 2010/09/07.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6991



  reply	other threads:[~2016-06-15 21:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15 20:23 Why are the tests byte-compiled Phillip Lord
2016-06-15 21:55 ` Drew Adams [this message]
2016-06-17 15:02   ` Phillip Lord
2016-06-17 15:13     ` Drew Adams
2016-06-17 15:25       ` Phillip Lord
  -- strict thread matches above, loose matches on Subject: below --
2016-06-26  5:18 Noam Postavsky
2016-06-27 13:35 ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c3efc058-4a9d-4196-a171-66e4897c4def@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=phillip.lord@russet.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.