tests: do not depend on $(BUILT_SOURCES), but on osmo-gbproxy
$(BUILT_SOURCES) is not defined, makes no sense to depend on it. Change-Id: Iefb7ae1a660891a556cf6bf2e46e1d4440da1683
This commit is contained in:
parent
ddbe35dcb4
commit
d1f6a8723d
|
@ -36,15 +36,15 @@ DISTCLEANFILES = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
if ENABLE_EXT_TESTS
|
if ENABLE_EXT_TESTS
|
||||||
python-tests: $(BUILT_SOURCES)
|
python-tests:
|
||||||
$(MAKE) vty-test
|
$(MAKE) vty-test
|
||||||
$(MAKE) ctrl-python-test
|
$(MAKE) ctrl-python-test
|
||||||
else
|
else
|
||||||
python-tests: $(BUILT_SOURCES)
|
python-tests:
|
||||||
echo "Not running python-based tests (determined at configure-time)"
|
echo "Not running python-based tests (determined at configure-time)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
vty-python-test: $(BUILT_SOURCES)
|
vty-python-test: $(top_builddir)/src/osmo-gbproxy
|
||||||
osmotestvty.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
|
osmotestvty.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
|
||||||
osmotestconfig.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)/vty_test_runner.py -w $(abs_top_builddir) -v
|
||||||
|
@ -53,7 +53,7 @@ vty-python-test: $(BUILT_SOURCES)
|
||||||
# To update the VTY script from current application behavior,
|
# To update the VTY script from current application behavior,
|
||||||
# pass -u to vty_script_runner.py by doing:
|
# pass -u to vty_script_runner.py by doing:
|
||||||
# make vty-transcript-test U=-u
|
# make vty-transcript-test U=-u
|
||||||
vty-transcript-test:
|
vty-transcript-test: $(top_builddir)/src/osmo-gbproxy
|
||||||
osmo_verify_transcript_vty.py -v \
|
osmo_verify_transcript_vty.py -v \
|
||||||
-n OsmoGbProxy -p 4246 \
|
-n OsmoGbProxy -p 4246 \
|
||||||
-r "$(top_builddir)/src/osmo-gbproxy -c $(top_srcdir)/doc/examples/osmo-gbproxy/osmo-gbproxy.cfg" \
|
-r "$(top_builddir)/src/osmo-gbproxy -c $(top_srcdir)/doc/examples/osmo-gbproxy/osmo-gbproxy.cfg" \
|
||||||
|
@ -69,7 +69,7 @@ vty-test:
|
||||||
$(MAKE) vty-python-test
|
$(MAKE) vty-python-test
|
||||||
$(MAKE) vty-transcript-test
|
$(MAKE) vty-transcript-test
|
||||||
|
|
||||||
ctrl-python-test: $(BUILT_SOURCES)
|
ctrl-python-test: $(top_builddir)/src/osmo-gbproxy
|
||||||
$(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
|
$(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
|
||||||
rm -f $(top_builddir)/sms.db $(top_builddir)/gsn_restart $(top_builddir)/gtphub_restart_count
|
rm -f $(top_builddir)/sms.db $(top_builddir)/gsn_restart $(top_builddir)/gtphub_restart_count
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue