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