xref: /freebsd/contrib/libxo/tests/Makefile.am (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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
11if HAVE_GETTEXT
12SUBDIRS += gettext
13endif
14
15test tests:
16	@(cur=`pwd` ; for dir in $(SUBDIRS) ; do \
17		cd $$dir ; \
18		$(MAKE) tests ; \
19		cd $$cur ; \
20	done)
21
22accept:
23	@(cur=`pwd` ; for dir in $(SUBDIRS) ; do \
24		cd $$dir ; \
25		$(MAKE) accept ; \
26		cd $$cur ; \
27	done)
28
29valgrind:
30	@echo '## Running the regression tests under Valgrind'
31	@echo '## Go get a cup of coffee it is gonna take a while ...'
32	${MAKE} VALGRIND='valgrind -q' tests
33