[MERGED] osmo-iuh[master]: build: distcheck: add missing bits for testsuite distcheck

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Sep 9 06:43:33 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: build: distcheck: add missing bits for testsuite distcheck
......................................................................


build: distcheck: add missing bits for testsuite distcheck

Got some errors during 'make distcheck', copying the way openbsc.git does these
things.

Change-Id: I13d76cd56dfb8fe4eb02d6fcada78a9e3311b51b
---
M src/tests/Makefile.am
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index d36c018..2ba3e89 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -41,12 +41,22 @@
              } >'$(srcdir)/package.m4'
 
 TESTSUITE = $(srcdir)/testsuite
+EXTRA_DIST = testsuite.at $(TESTSUITE) $(srcdir)/package.m4 \
+	     test-helpers.err  test-helpers.ok  test-hnbap.ok  test-ranap.ok
 
 DISTCLEANFILES = atconfig
 
 check-local: atconfig $(TESTSUITE)
 	$(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS)
 
+installcheck-local: atconfig $(TESTSUITE)
+	$(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
+		$(TESTSUITEFLAGS)
+
+clean-local:
+	test ! -f '$(TESTSUITE)' || \
+                $(SHELL) '$(TESTSUITE)' --clean
+
 AUTOM4TE = $(SHELL) $(top_srcdir)/missing --run autom4te
 AUTOTEST = $(AUTOM4TE) --language=autotest
 

-- 
To view, visit https://gerrit.osmocom.org/785
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I13d76cd56dfb8fe4eb02d6fcada78a9e3311b51b
Gerrit-PatchSet: 4
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list