[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Why are the tests byte-compiled

From: Drew Adams
Subject: RE: Why are the tests byte-compiled
Date: Wed, 15 Jun 2016 14:55:29 -0700 (PDT)

> 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?

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]