]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blob - tests/Makefile.am
fa33764e54ec1400bb1c4e7837bfc887d598939e
[coloredstderr/coloredstderr.git] / tests / Makefile.am
1 TESTS = test_example.sh \
2         test_exec.sh \
3         test_noforce.sh \
4         test_redirects.sh \
5         test_simple.sh
6 check_PROGRAMS = example example_exec
7 example_SOURCES = example.c
8 example_exec_SOURCES = example_exec.c
9
10 if HAVE_ERROR_H
11     TESTS += test_error.sh
12     check_PROGRAMS += example_error
13     example_error_SOURCES = example_error.c
14 endif
15 if HAVE_VFORK
16     TESTS += test_vfork.sh
17     check_PROGRAMS += example_vfork
18     example_vfork_SOURCES = example_vfork.c
19 endif
20
21 dist_check_SCRIPTS = $(TESTS) lib.sh
22 dist_check_DATA = example.expected \
23                   example_error.expected \
24                   example_exec.expected \
25                   example_noforce.sh \
26                   example_noforce.sh.expected \
27                   example_redirects.sh \
28                   example_redirects.sh.expected \
29                   example_simple.sh \
30                   example_simple.sh.expected \
31                   example_vfork.expected
32
33 # Used by lib.sh.
34 export EGREP