aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: e23a40fd2430cccf0a9a58393a7876707f78166b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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