]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blob - tests/Makefile.am
tests/Makefile.am: Enable parallel and colored test runs.
[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_symbols.sh
11 check_PROGRAMS = example example_exec
12 example_SOURCES = example.c
13 example_exec_SOURCES = example_exec.c
14
15 if HAVE_ERROR_H
16     TESTS += test_error.sh
17     check_PROGRAMS += example_error
18     example_error_SOURCES = example_error.c
19 endif
20 if HAVE_VFORK
21     TESTS += test_vfork.sh
22     check_PROGRAMS += example_vfork
23     example_vfork_SOURCES = example_vfork.c
24 endif
25
26 dist_check_SCRIPTS = $(TESTS) lib.sh
27 dist_check_DATA = example.expected \
28                   example_environment.expected \
29                   example_environment_empty.expected \
30                   example_error.expected \
31                   example_exec.expected \
32                   example_noforce.sh \
33                   example_noforce.sh.expected \
34                   example_redirects.sh \
35                   example_redirects.sh.expected \
36                   example_simple.sh \
37                   example_simple.sh.expected \
38                   example_vfork.expected
39
40 # Used by lib.sh.
41 export EGREP