Debian Codegraph @

src/tests/Makefile.am

raw
1 ## Process this file with automake to produce Makefile.in
2
3 ## Copyright (C) 2010 Colin Watson.
4 ##
5 ## This file is part of binfmt-support.
6 ##
7 ## binfmt-support is free software; you can redistribute it and/or modify it
8 ## under the terms of the GNU General Public License as published by the
9 ## Free Software Foundation; either version 3 of the License, or (at your
10 ## option) any later version.
11 ##
12 ## binfmt-support is distributed in the hope that it will be useful, but
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15 ## Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public License along
18 ## with binfmt-support; if not, write to the Free Software Foundation, Inc.,
19 ## 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
21 TESTS_ENVIRONMENT = PATH=..:$$PATH; export PATH; \
22 top_builddir=$(top_builddir); export top_builddir; \
23 pkglibexecdir=$(pkglibexecdir); export pkglibexecdir;
24 # Each test must use the configure-detected shell, not necessarily /bin/sh.
25 AM_LOG_FLAGS = $(SHELL)
26
27 ALL_TESTS = \
28 install \
29 import \
30 display \
31 enable \
32 detectors \
33 find
34 if !CROSS_COMPILING
35 TESTS = $(ALL_TESTS)
36 endif
37
38 dist_check_SCRIPTS = binfmt_misc.py testlib.sh $(ALL_TESTS)
39
40 CLEANFILES = binfmt_misc.pyc binfmt_misc.pyo