tests: make 'vty-test' target depend on osmo-hnbgw binary

Change-Id: Iaaa1dd622fde460a250c11eb97cf0b25469e55c4
This commit is contained in:
Vadim Yanitskiy 2023-03-30 02:53:41 +07:00
parent a973a93527
commit 3ebdd301c9
1 changed files with 3 additions and 2 deletions

View File

@ -53,10 +53,11 @@ 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
vty-test:
vty-test: $(top_builddir)/src/osmo-hnbgw/osmo-hnbgw
osmo_verify_transcript_vty.py -v \
-n OsmoHNBGW -p 4261 \
-r "$(top_builddir)/src/osmo-hnbgw/osmo-hnbgw -c $(top_srcdir)/doc/examples/osmo-hnbgw/osmo-hnbgw.cfg" \
-r "$(top_builddir)/src/osmo-hnbgw/osmo-hnbgw \
-c $(top_srcdir)/doc/examples/osmo-hnbgw/osmo-hnbgw.cfg" \
$(U) $(srcdir)/$(VTY_TEST)
check-local: atconfig $(TESTSUITE)