make: allow vty-tests without configure

Change-Id: I8cb165890ed77bea8ae82f5228828fa19ff7e0b9
This commit is contained in:
Neels Hofmeyr 2018-09-21 01:48:54 +02:00
parent db531c0a37
commit 6a5f00272c
1 changed files with 4 additions and 4 deletions

View File

@ -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)