fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-msc/+/32120 )


Change subject: tests: $(BUILT_SOURCES) is not defined, depend on osmo-msc
......................................................................

tests: $(BUILT_SOURCES) is not defined, depend on osmo-msc

Change-Id: I3676a744bbe13d5d17caa94e9bd9e21c5c53de87
---
M tests/Makefile.am
1 file changed, 15 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/20/32120/1

diff --git a/tests/Makefile.am b/tests/Makefile.am
index d25fe16..5b77250 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -48,7 +48,7 @@

 if ENABLE_EXT_TESTS
 # don't run multiple tests concurrently so that the ports don't conflict
-python-tests: $(BUILT_SOURCES)
+python-tests:
        $(MAKE) vty-test
        $(MAKE) ctrl-test
 if BUILD_SMPP
@@ -56,11 +56,11 @@
 endif

 else
-python-tests: $(BUILT_SOURCES)
+python-tests:
        echo "Not running python-based tests (determined at configure-time)"
 endif

-vty-python-test: $(BUILT_SOURCES)
+vty-python-test: $(top_builddir)/src/osmo-msc/osmo-msc
 if BUILD_IU
        IU=1 osmotestvty.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
        IU=1 osmotestconfig.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
@@ -77,7 +77,7 @@
 # To update the VTY script from current application behavior,
 # pass -u to vty_script_runner.py by doing:
 #   make vty-transcript-test U=-u
-vty-transcript-test:
+vty-transcript-test: $(top_builddir)/src/osmo-msc/osmo-msc
        osmo_verify_transcript_vty.py -v \
                -n OsmoMSC -p 4254 \
                -r "$(top_builddir)/src/osmo-msc/osmo-msc -c 
$(top_srcdir)/doc/examples/osmo-msc/osmo-msc.cfg" \
@@ -89,7 +89,7 @@
        $(MAKE) vty-python-test
        $(MAKE) vty-transcript-test

-ctrl-python-test: $(BUILT_SOURCES)
+ctrl-python-test: $(top_builddir)/src/osmo-msc/osmo-msc
        $(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
        rm -f $(top_builddir)/sms.db*

@@ -104,7 +104,7 @@
        $(MAKE) ctrl-python-test
        $(MAKE) ctrl-transcript-test

-smpp-test:
+smpp-test:$(top_builddir)/src/osmo-msc/osmo-msc
        $(srcdir)/smpp_test_runner.py -w $(abs_top_builddir) -v
        rm -f $(top_builddir)/sms.db*


--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/32120
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I3676a744bbe13d5d17caa94e9bd9e21c5c53de87
Gerrit-Change-Number: 32120
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to