xref: /freebsd/contrib/libxo/tests/Makefile.am (revision 3df058ffaf72b8715c9a5a6a4cbaf1eac1910e43)
1#
2# Copyright 2014, Juniper Networks, Inc.
3# All rights reserved.
4# This SOFTWARE is licensed under the LICENSE provided in the
5# ../Copyright file. By downloading, installing, copying, or otherwise
6# using the SOFTWARE, you agree to be bound by the terms of that
7# LICENSE.
8
9SUBDIRS=core xo
10
11test tests:
12	@(cur=`pwd` ; for dir in $(SUBDIRS) ; do \
13		cd $$dir ; \
14		$(MAKE) tests ; \
15		cd $$cur ; \
16	done)
17
18accept:
19	@(cur=`pwd` ; for dir in $(SUBDIRS) ; do \
20		cd $$dir ; \
21		$(MAKE) accept ; \
22		cd $$cur ; \
23	done)
24
25valgrind:
26	@echo '## Running the regression tests under Valgrind'
27	@echo '## Go get a cup of coffee it is gonna take a while ...'
28	${MAKE} VALGRIND='valgrind -q' tests
29