laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/32116 )
Change subject: tests: $(BUILT_SOURCES) is not defined, depend on osmo-bsc
......................................................................
tests: $(BUILT_SOURCES) is not defined, depend on osmo-bsc
Change-Id: I640dd2cd599707ad6bc661e7bea08372d85b47df
---
M tests/Makefile.am
1 file changed, 12 insertions(+), 3 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8ee8bec..aac237a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -47,14 +47,14 @@
$(NULL)
if ENABLE_EXT_TESTS
-python-tests: $(BUILT_SOURCES)
+python-tests: $(top_builddir)/src/osmo-bsc/osmo-bsc
$(MAKE) vty-test
osmotestvty.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
osmotestconfig.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
$(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v
$(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
else
-python-tests: $(BUILT_SOURCES)
+python-tests:
echo "Not running python-based tests (determined at configure-time)"
endif
@@ -64,7 +64,7 @@
# 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-bsc/osmo-bsc
osmo_verify_transcript_vty.py -v \
-n OsmoBSC -p 4242 \
-r "$(top_builddir)/src/osmo-bsc/osmo-bsc -c
$(top_srcdir)/doc/examples/osmo-bsc/osmo-bsc-minimal.cfg" \
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/32116
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I640dd2cd599707ad6bc661e7bea08372d85b47df
Gerrit-Change-Number: 32116
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged