pespin has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/14/28314/1
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)-*