all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: emacs-devel@gnu.org
Subject: Why are the tests byte-compiled
Date: Wed, 15 Jun 2016 21:23:06 +0100	[thread overview]
Message-ID: <8760ta8amt.fsf@russet.org.uk> (raw)



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?

Phil



             reply	other threads:[~2016-06-15 20:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15 20:23 Phillip Lord [this message]
2016-06-15 21:55 ` Why are the tests byte-compiled Drew Adams
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=8760ta8amt.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    /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.