This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help needed "make check"


>>> "Harald" == Harald Mitterhofer <Harald.Mitterhofer@tecco.at> 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]