Harald Welte | bad3897 | 2019-11-06 06:51:57 +0100 | [diff] [blame] | 1 | DISTCLEANFILES = \ |
| 2 | atconfig \ |
| 3 | $(NULL) |
| 4 | |
Harald Welte | a6d1211 | 2019-12-04 11:43:30 +0100 | [diff] [blame^] | 5 | EXTRA_DIST = \ |
| 6 | test_nodes.vty |
| 7 | |
Harald Welte | bad3897 | 2019-11-06 06:51:57 +0100 | [diff] [blame] | 8 | if ENABLE_EXT_TESTS |
| 9 | python-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 Welte | bad3897 | 2019-11-06 06:51:57 +0100 | [diff] [blame] | 13 | else |
| 14 | python-tests: $(BUILT_SOURCES) |
| 15 | echo "Not running python-based tests (determined at configure-time)" |
| 16 | endif |
| 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 |
| 21 | vty-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 | |
| 27 | check-local: |
| 28 | $(MAKE) $(AM_MAKEFLAGS) python-tests |