bug-automake
[Top][All Lists]
Advanced

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

bug#11791: recheck and compilation error


From: Peter Johansson
Subject: bug#11791: recheck and compilation error
Date: Tue, 26 Jun 2012 21:56:58 +1000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

Hello automakers,

I've noticed the following behavior from 'make recheck'.

If I run 'make check' and one test fails
$ make check
...
FAIL: foo.test

I modify the test
$ edit foo.c
and rerun the test suite with
$ make recheck -k
foo.c:1: error: parse error before '}' token
make[1]: *** [foo.o] Error 1
make[1]: Target `test-suite.log' not remade because of errors.
make: *** [recheck] Error 2

which is now interrupted as I introduced a compilation error. If I now try edit the test again and rerun test suite with
$ make recheck -k
I get
# TOTAL: 0
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

that is, the failed test is not rerun. I suppose the reason is that it was never run last time and that there exist no trs file, but this is IMHO suboptimal and unexpected. I would expect that make recheck also includes tests that failed due to compilation problems or at least tests that failed last time they were run.

Please find a script attached illustrating the behavior.

This is with automake 1.12.

Cheers,
Peter

--
Peter Johansson


Attachment: recheck.sh
Description: Bourne shell script


reply via email to

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