Re: [O] Check for compilation error

2014-11-23 Thread Michael Brand
Hi Achim

On Sat, Nov 22, 2014 at 12:30 PM, Achim Gratz strom...@nexgo.de wrote:
 Michael Brand writes:
 What is the reason that make check does not stop at the first
 compilation error with a non-zero exit status?

 Emacs doesn't behave like a compiler

... when used as

[...] --batch --eval '(batch-byte-recompile-directory 0)'

But as

[...] --batch --eval '(batch-byte-compile)' `find . -name '*.el'`

the non-zero exit status is available. Could make check use this to
indicate a compilation error?

Alternatively of help may be a new optional parameter for
byte-recompile-directory to return its fail-count instead of nothing
useful as now and batch-byte-recompile-directory would then also on
request use it for (kill-emacs fail-count) instead of only the current
undifferentiated (kill-emacs 0).

Michael



[O] Check for compilation error

2014-11-22 Thread Michael Brand
Hi all

What is the reason that make check does not stop at the first
compilation error with a non-zero exit status?

Michael



Re: [O] Check for compilation error

2014-11-22 Thread Achim Gratz
Michael Brand writes:
 What is the reason that make check does not stop at the first
 compilation error with a non-zero exit status?

Emacs doesn't behave like a compiler.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada