diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-03-11 10:35:49 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-03-11 10:35:49 +0100 |
commit | 5291b6429ed3dc258bb146751108599c2216e279 (patch) | |
tree | 0b53e904a449a39a6e1f3afb17e74103fdef23af | |
parent | 8ada9207796e8c34c4295aadc43120dff037d010 (diff) |
tests/Makefile.am: allow running only one VTY test
Add VTY_TEST variable, just like in osmo-hlr Change-Id
I4ad7ddb31b2bfb668b3540cfef658417dd442375.
Change-Id: Ieb08ae57bd8bb68c9a8593b3e1175eae9064ac57
-rw-r--r-- | tests/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 446276b3d..9f2e0e0f0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -54,6 +54,9 @@ python-tests: $(BUILT_SOURCES) echo "Not running python-based tests (determined at configure-time)" endif +# Run a specific test with: 'make vty-test VTY_TEST=osmo-bsc.vty' +VTY_TEST ?= *.vty + # To update the VTY script from current application behavior, # pass -u to vty_script_runner.py by doing: # make vty-test U=-u @@ -61,7 +64,7 @@ vty-test: osmo_verify_transcript_vty.py -v \ -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 + $(U) $(srcdir)/$(VTY_TEST) check-local: atconfig $(TESTSUITE) $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS) |