mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
synced 2025-10-23 08:22:12 +00:00
tests: Allow specyfing specific ctrl test to run
Similar to what's already available for vty tests. Change-Id: I3b01edfb22197f4d46bd24e15bdcd37ea0382e4a
This commit is contained in:
@@ -69,6 +69,9 @@ vty-test:
|
||||
|
||||
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 @@ ctrl-test:
|
||||
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)-*
|
||||
|
||||
|
Reference in New Issue
Block a user