aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-03-29 19:43:35 +0700
committerfixeria <vyanitskiy@sysmocom.de>2023-04-14 11:16:51 +0000
commit5d0bc330a0cffd891453fc155b3b44a4eedb0826 (patch)
treece185b4652389e202651f95f21987a10ab8d98fc
parent388d7c9374ec3ae1fd0e16bba1857ac1f789b8b4 (diff)
tests: $(BUILT_SOURCES) is not defined, depend on osmo-msc
-rw-r--r--tests/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d25fe16ec..5b77250de 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -48,7 +48,7 @@ DISTCLEANFILES = \
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 @@ if BUILD_SMPP
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 @@ VTY_TEST ?= *.vty
# 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 @@ vty-test:
$(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 @@ ctrl-test:
$(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*