execinfo tests: Strengthen tests.
[gnulib.git] / modules / execute-tests
blobfc0816fd1734f3f3fe63bd6514c56313b96da2ed
1 Files:
2 tests/test-execute.sh
3 tests/test-execute-main.c
4 tests/test-execute-child.c
5 tests/test-execute-script.c
6 tests/executable-script
7 tests/executable-script.sh
8 tests/executable-shell-script
9 tests/qemu.h
10 tests/macros.h
12 Depends-on:
13 dup2
14 fcntl
15 mkdir
16 msvc-inval
17 read-file
18 stdbool
19 stdint
20 unistd
22 configure.ac:
23 dnl Test for Linux system call close_range(), declared in <unistd.h>.
24 gl_CHECK_FUNCS_ANDROID([close_range], [[#include <unistd.h>]])
26 Makefile.am:
27 TESTS += test-execute.sh
28 check_PROGRAMS += test-execute-main test-execute-child
29 test_execute_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
30 # The test-execute-child program must be a real executable, not a libtool
31 # wrapper script, and should link against as few libraries as possible.
32 # Therefore don't link it against any libraries other than -lc.
33 test_execute_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
34 test_execute_child_LDADD =
36 TESTS += test-execute-script
37 check_PROGRAMS += test-execute-script
38 test_execute_script_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
39 test_execute_script_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/\"