From 7dac4862bcdbbb182edb80ac6765736aa34e6299 Mon Sep 17 00:00:00 2001 From: Kat Date: Fri, 5 Apr 2013 21:44:46 +0200 Subject: Added conditional python-based tests for VTY/config handling --- Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 2c080ed9..e23a40fd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,16 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6 SUBDIRS = src examples +EXTRA_DIST = osmoappdesc.py + +if ENABLE_VTY_TESTS +python-tests: $(BUILT_SOURCES) + osmotestvty.py -p $(top_srcdir) -w $(builddir) -v + osmotestconfig.py -p $(top_srcdir) -w $(builddir) -v +else +python-tests: $(BUILT_SOURCES) + @echo "Not running python-based tests (determined at configure-time)" +endif + +check-local: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) python-tests -- cgit v1.2.3