[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoid certain spurious `testsuite' rebuilds
From: |
Stepan Kasal |
Subject: |
Re: Avoid certain spurious `testsuite' rebuilds |
Date: |
Thu, 6 Apr 2006 12:42:06 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Wed, Apr 05, 2006 at 01:10:40PM -0700, Noah Misch wrote:
> We now trigger the TESTSUITE_GENERATED_AT update from check-local, so `make -C
> tests ./testsuite' may build a testsuite using out-of-date tests/ac*.at. I
> couldn't find a way around this without introducing more serious flaws.
I think that this particuar problem could be fixed by the following patch.
What have I missed?
Stepan
--- tests/Makefile.am.orig 2006-04-06 12:20:16.000000000 +0200
+++ tests/Makefile.am 2006-04-06 12:30:18.000000000 +0200
@@ -119,6 +119,7 @@
$(TESTSUITE_AT) \
$(autotest_m4f_dependencies)
cd $(top_builddir)/lib/autotest && $(MAKE) $(AM_MAKEFLAGS) autotest.m4f
+ $(MAKE) $(AM_MAKEFLAGS) $(stamp_tgat)
$(AUTOTEST) -I $(srcdir) suite.at -o address@hidden
mv address@hidden $@
@@ -130,7 +131,7 @@
rm -f *.tmp
rm -f -r autom4te.cache
-check-local: atconfig atlocal $(stamp_tgat) $(TESTSUITE)
+check-local: atconfig atlocal $(TESTSUITE)
$(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
# Run the test suite on the *installed* tree.