>>> "Harald" == Harald Mitterhofer <[EMAIL PROTECTED]> writes:

[...]

 Harald> when I change test-progs or some corresponding, tested source-files,
 Harald> only some of the check_PROGRAMS are rebuild on "make check", which is
 Harald> what I expect; nevertheless ALL TESTS (also those, not rebuilt) are
 Harald> executed, which is a runtime-problem and slows down my "test first"
 Harald> development strategy; I only want to run rebuilt tests;

 Harald> I searched for another make-target than "check" in the generated
 Harald> Makefile, but could not find any;
 Harald> I have no idea how to define one myself;

Something like this?

check-new: $(TESTS)
        $(MAKE) $(AM_MAKEFLAGS) TESTS='$?' check-TESTS
        : > $@
CLEANFILES = check-new

-- 
Alexandre Duret-Lutz



Reply via email to