Change in osmo-bsc[master]: tests/Makefile.am: allow running only one VTY test

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/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Mar 11 10:06:25 UTC 2020


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/17455 )


Change subject: tests/Makefile.am: allow running only one VTY test
......................................................................

tests/Makefile.am: allow running only one VTY test

Add VTY_TEST variable, just like in osmo-hlr Change-Id
I4ad7ddb31b2bfb668b3540cfef658417dd442375.

Change-Id: Ieb08ae57bd8bb68c9a8593b3e1175eae9064ac57
---
M tests/Makefile.am
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/55/17455/1

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 446276b..9f2e0e0 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -54,6 +54,9 @@
 	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 @@
 	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)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/17455
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ieb08ae57bd8bb68c9a8593b3e1175eae9064ac57
Gerrit-Change-Number: 17455
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200311/d7a3be2c/attachment.htm>


More information about the gerrit-log mailing list