laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/28314 ) Change subject: tests: Allow specyfing specific ctrl test to run ...................................................................... tests: Allow specyfing specific ctrl test to run Similar to what's already available for vty tests. Change-Id: I3b01edfb22197f4d46bd24e15bdcd37ea0382e4a --- M tests/Makefile.am 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved laforge: Looks good to me, approved diff --git a/tests/Makefile.am b/tests/Makefile.am index 9270efa..41a9d47 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -69,6 +69,9 @@ CTRL_TEST_DB = hlr_ctrl_test.db +# Run a specific test with: 'make ctrl-test CTRL_TEST=test_subscriber.ctrl' +CTRL_TEST ?= *.ctrl + # To update the CTRL script from current application behavior, # pass -u to ctrl_script_runner.py by doing: # make ctrl-test U=-u @@ -79,7 +82,7 @@ osmo_verify_transcript_ctrl.py -v \ -p 4259 \ -r "$(top_builddir)/src/osmo-hlr -c $(top_srcdir)/doc/examples/osmo-hlr.cfg -l $(CTRL_TEST_DB)" \ - $(U) $(srcdir)/*.ctrl + $(U) $(srcdir)/$(CTRL_TEST) -rm -f $(CTRL_TEST_DB) -rm $(CTRL_TEST_DB)-* -- To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/28314 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-Change-Id: I3b01edfb22197f4d46bd24e15bdcd37ea0382e4a Gerrit-Change-Number: 28314 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-MessageType: merged