From 6a5f00272c010eb98b53bd69ed7f753b9c566e2f Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 21 Sep 2018 01:48:54 +0200 Subject: make: allow vty-tests without configure Change-Id: I8cb165890ed77bea8ae82f5228828fa19ff7e0b9 --- tests/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 9b4cfe4a2..446276b3d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -49,6 +49,10 @@ python-tests: $(BUILT_SOURCES) $(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v $(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v rm -f $(top_builddir)/sms.db $(top_builddir)/gsn_restart $(top_builddir)/gtphub_restart_count +else +python-tests: $(BUILT_SOURCES) + echo "Not running python-based tests (determined at configure-time)" +endif # To update the VTY script from current application behavior, # pass -u to vty_script_runner.py by doing: @@ -58,10 +62,6 @@ vty-test: -n OsmoBSC -p 4242 \ -r "$(top_builddir)/src/osmo-bsc/osmo-bsc -c $(top_srcdir)/doc/examples/osmo-bsc/osmo-bsc-minimal.cfg" \ $(U) $(srcdir)/*.vty -else -python-tests: $(BUILT_SOURCES) - echo "Not running python-based tests (determined at configure-time)" -endif check-local: atconfig $(TESTSUITE) $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS) -- cgit v1.2.3