From: Ben Pfaff Date: Sat, 9 Oct 2010 03:24:14 +0000 (-0700) Subject: tests: Distribute testsuite.at and loosen its dependencies. X-Git-Tag: v0.7.6~84 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f55c8681111b3a5642dd15ae7baef80cb135b669;p=pspp-builds.git tests: Distribute testsuite.at and loosen its dependencies. testsuite.at has to be distributed or "make" from a distributed tarball will have to make it, which means that the system used for building needs Autoconf installed and will need to write to the source directory. testsuite.at cannot depend on the Makefile or it will have to be rebuilt every time "configure" runs, which would also cause the problems mentioned above. --- diff --git a/tests/automake.mk b/tests/automake.mk index 8f1e3a48..00a60708 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -392,12 +392,12 @@ TESTSUITE_AT = \ TESTSUITE = $(srcdir)/tests/testsuite DISTCLEANFILES += tests/atconfig tests/atlocal $(TESTSUITE) -$(srcdir)/tests/testsuite.at: tests/testsuite.in Makefile +$(srcdir)/tests/testsuite.at: tests/testsuite.in tests/automake.mk cp $< $@ for t in $(TESTSUITE_AT); do \ echo "m4_include([$$t])" >> $@ ;\ done - +EXTRA_DIST += tests/testsuite.at CHECK_LOCAL += tests_check tests_check: tests/atconfig tests/atlocal $(TESTSUITE) $(check_PROGRAMS)