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