Subject: bug#5754: Bytecomp Arithmetic test failed

From: Lennart Borgman <[email-masked]>
Date: Thu, 25 Mar 2010 02:19:49 +0100

On Thu, Mar 25, 2010 at 2:15 AM, Stefan Monnier
<[email-masked]> wrote:
>>>>> Not when building Emacs, but there should be a make target like
>>>>> `make test'.  And when choosing a unit test framework to add to Emacs,
>>>>> the main criteria should be the ability to run tests in batch mode.
>>>> Yes, there should such a target. But why don't you think it would be
>>>> run at the end of the build process?
>>> No, thanks.  It would be a nuisance for developers.
>> In what way?
>> The idea behind unit tests is to catch errors as soon as possible
>> after each change. Would not running the unit tests directly after
>> building help with that? Some problems are platform specific and will
>> perhaps show up during unit tests.
>
> It could only work if running the test takes a negligible amount of
> time, and it generates almost no output if all goes well.

Or if fail is noticeable.

> The second point is probably easy, but the first is unlikely to stay
> true for long.

Why not try it and remove it if it becomes a burden?