blob: b55b605e7e924071d4db0aa05a1ead3b639d9fd5 [file] [log] [blame]
Harald Weltebad38972019-11-06 06:51:57 +01001DISTCLEANFILES = \
2 atconfig \
3 $(NULL)
4
Harald Weltea6d12112019-12-04 11:43:30 +01005EXTRA_DIST = \
6 test_nodes.vty
7
Harald Weltebad38972019-11-06 06:51:57 +01008if ENABLE_EXT_TESTS
9python-tests: $(BUILT_SOURCES)
10 $(MAKE) vty-test
11 osmotestvty.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
12 osmotestconfig.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
Harald Weltebad38972019-11-06 06:51:57 +010013else
14python-tests: $(BUILT_SOURCES)
15 echo "Not running python-based tests (determined at configure-time)"
16endif
17
18# To update the VTY script from current application behavior,
19# pass -u to vty_script_runner.py by doing:
20# make vty-test U=-u
21vty-test:
22 osmo_verify_transcript_vty.py -v \
23 -n osmo-e1-recorder -p 4444 \
24 -r "$(top_builddir)/src/osmo-e1-recorder -c $(top_srcdir)/doc/examples/osmo-e1-recorder.cfg" \
25 $(U) $(srcdir)/*.vty
26
27check-local:
28 $(MAKE) $(AM_MAKEFLAGS) python-tests