]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blob - tests/Makefile.am
Prevent crash in execve() if env is NULL
[coloredstderr/coloredstderr.git] / tests / Makefile.am
1 # Default since automake 1.13, necessary for older versions.
2 AUTOMAKE_OPTIONS = color-tests parallel-tests
3
4 TESTS = test_environment.sh \
5         test_example.sh \
6         test_exec.sh \
7         test_noforce.sh \
8         test_redirects.sh \
9         test_simple.sh \
10         test_stdio.sh
11 check_PROGRAMS = example example_exec example_stdio
12
13 if HAVE_ERR_H
14     TESTS += test_err.sh
15     check_PROGRAMS += example_err
16 endif
17 if HAVE_ERROR_H
18     TESTS += test_error.sh
19     check_PROGRAMS += example_error
20 endif
21 if HAVE_VFORK
22     TESTS += test_vfork.sh
23     check_PROGRAMS += example_vfork
24 endif
25
26 dist_check_SCRIPTS = $(TESTS) lib.sh
27 dist_check_DATA = example.h \
28                   example.expected \
29                   example_environment.expected \
30                   example_environment_empty.expected \
31                   example_err.expected \
32                   example_error.expected \
33                   example_exec.expected \
34                   example_noforce.sh \
35                   example_noforce.sh.expected \
36                   example_redirects.sh \
37                   example_redirects.sh.expected \
38                   example_simple.sh \
39                   example_simple.sh.expected \
40                   example_stdio.expected \
41                   example_vfork.expected
42
43 # Used by lib.sh. Can't use "export EGREP" because it doesn't work with BSD's
44 # make.
45 AM_MAKEFLAGS = "EGREP=$(EGREP)"