aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-03-29 19:35:14 +0700
committerfixeria <vyanitskiy@sysmocom.de>2023-04-03 13:33:25 +0000
commit5f556af2328062e2e17686ecf04d3f1198787a83 (patch)
tree7849cca2c277035f5c1a5b726f514b5192944942
parent909d943fe8edb187b38009b0f4615b8352935ac6 (diff)
tests: $(BUILT_SOURCES) is not defined, depend on osmo-bts-virtual
-rw-r--r--tests/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a1d04a77..100c5d48 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -32,10 +32,10 @@ TESTSUITE = $(srcdir)/testsuite
DISTCLEANFILES = atconfig
if ENABLE_EXT_TESTS
-python-tests: $(BUILT_SOURCES)
+python-tests:
$(MAKE) vty-test
else
-python-tests: $(BUILT_SOURCES)
+python-tests:
echo "Not running python-based tests (determined at configure-time)"
endif
@@ -45,7 +45,7 @@ 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-bts-virtual/osmo-bts-virtual
osmo_verify_transcript_vty.py -v \
-n OsmoBTS -p 4241 \
-r "$(top_builddir)/src/osmo-bts-virtual/osmo-bts-virtual --vty-test -c $(top_srcdir)/doc/examples/virtual/osmo-bts-virtual.cfg" \