pespin has uploaded this change for review.

View Change

tests/vty/Makefile.am: Allow testing with specific vty file

Change-Id: Ia0d53007334aaa3df35d1c821c520af4952b7843
---
M tests/vty/Makefile.am
1 file changed, 8 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/73/38373/1
diff --git a/tests/vty/Makefile.am b/tests/vty/Makefile.am
index 3d35c25..4157bcb 100644
--- a/tests/vty/Makefile.am
+++ b/tests/vty/Makefile.am
@@ -28,17 +28,23 @@
vty-python-test: $(top_builddir)/stp/osmo-stp
$(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v

+# Run a specific test with: 'make vty-test VTY_TEST_STP=osmo_stp_test.vty'
+VTY_TEST_STP ?= osmo_stp_*.vty
+
vty-transcript-test-stp: $(top_builddir)/stp/osmo-stp
osmo_verify_transcript_vty.py -v \
-n OsmoSTP -p 4239 \
-r "$(top_builddir)/stp/osmo-stp -c $(top_srcdir)/doc/examples/osmo-stp-multihome.cfg" \
- $(U) $(srcdir)/osmo_stp_*.vty
+ $(U) $(srcdir)/$(VTY_TEST_STP)
+
+# Run a specific test with: 'make vty-test VTY_TEST_ASP=ss7_asp_test.vty'
+VTY_TEST_ASP ?= ss7_asp_*.vty

vty-transcript-test-asp: ss7_asp_vty_test
osmo_verify_transcript_vty.py -v \
-p 42043 \
-r "$(builddir)/ss7_asp_vty_test" \
- $(U) $(srcdir)/ss7_asp_*.vty
+ $(U) $(srcdir)/$(VTY_TEST_ASP)

# To update the VTY script from current application behavior,
# pass -u to osmo_verify_transcript_vty.py by doing:

To view, visit change 38373. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ia0d53007334aaa3df35d1c821c520af4952b7843
Gerrit-Change-Number: 38373
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>