fixeria has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/16/32116/1

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8ee8bec..f2c2d7b 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: $(top_builddir)/src/osmo-bsc/osmo-bsc
        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: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to