Revert "tests: Make the test setup more abusive to fix the build"

This reverts commit 41b42c7229.
changes/88/3188/1
Holger Hans Peter Freyther 11 years ago
parent 41b42c7229
commit 03ff1c8477
  1. 12
      openbsc/tests/Makefile.am

@ -9,7 +9,7 @@ endif
# The `:;' works around a Bash 3.2 bug when the output is not writeable.
$(builddir)/package.m4: $(top_srcdir)/configure.ac $(top_builddir)/config.log
$(srcdir)/package.m4: $(top_srcdir)/configure.ac $(top_builddir)/config.log
:;{ \
echo '# Signature of the current package.' && \
echo 'm4_define([AT_PACKAGE_NAME],' && \
@ -25,10 +25,10 @@ $(builddir)/package.m4: $(top_srcdir)/configure.ac $(top_builddir)/config.log
echo 'm4_define([AT_PACKAGE_URL],' && \
echo ' [$(PACKAGE_URL)])'; \
$(ENABLE_NAT_TEST) \
} >'$(builddir)/package.m4'
} >'$(srcdir)/package.m4'
EXTRA_DIST = testsuite.at $(builddir)/package.m4 $(TESTSUITE)
TESTSUITE = $(builddir)/testsuite
EXTRA_DIST = testsuite.at $(srcdir)/package.m4 $(TESTSUITE)
TESTSUITE = $(srcdir)/testsuite
check-local: atconfig $(TESTSUITE)
$(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS)
@ -41,11 +41,9 @@ clean-local:
test ! -f '$(TESTSUITE)' || \
$(SHELL) '$(TESTSUITE)' --clean
$(RM) -f atconfig
$(RM) $(TESTSUITE)
$(RM) $(builddir)/package.m4
AUTOM4TE = $(SHELL) $(top_srcdir)/missing --run autom4te
AUTOTEST = $(AUTOM4TE) --language=autotest
$(TESTSUITE): $(srcdir)/testsuite.at $(builddir)/package.m4
$(TESTSUITE): $(srcdir)/testsuite.at $(srcdir)/package.m4
$(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
mv $@.tmp $@

Loading…
Cancel
Save