aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-09-21 01:48:54 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-09-27 03:32:35 +0200
commit6a5f00272c010eb98b53bd69ed7f753b9c566e2f (patch)
tree2784b5a4b8966d5d4dd5fbdd9e9cac252bbb04c4 /tests
parentdb531c0a374dff70aba9501aec63f49bbce506c2 (diff)
make: allow vty-tests without configure
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am8
1 files 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)