blob: 36273448fe027e518e17994a66845358024cdd17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
AT_FILES = $(wildcard $(srcdir)/*.at)
TESTSUITE = $(srcdir)/testsuite
DISTCLEANFILES = atconfig
EXTRA_DIST = atlocal.in package.m4.in $(AT_FILES) $(TESTSUITE) \
test-skel-0.c \
tests.h
AM_CPPFLAGS = -I$(top_srcdir) $(SANDBOX_DEFINES)
check_PROGRAMS = \
get-group \
get-user \
sb_true \
sb_true_static \
\
access-0 \
chmod-0 \
chown-0 \
creat-0 \
creat64-0 \
faccessat-0 \
fchmodat-0 \
fchownat-0 \
fopen-0 \
fopen64-0 \
futimesat-0 \
lchown-0 \
link-0 \
linkat-0 \
linkat_static-0 \
lutimes-0 \
mkdtemp-0 \
mkdir-0 \
mkdir_static-0 \
mkdirat-0 \
mkfifo-0 \
mkfifoat-0 \
mknod-0 \
mknodat-0 \
mkostemp-0 \
mkostemp64-0 \
mkostemps-0 \
mkostemps64-0 \
mkstemp-0 \
mkstemp64-0 \
mkstemps-0 \
mkstemps64-0 \
open-0 \
open_static-0 \
open64-0 \
openat-0 \
openat_static-0 \
openat64-0 \
opendir-0 \
remove-0 \
rename-0 \
renameat-0 \
rmdir-0 \
signal_static-0 \
symlink-0 \
symlinkat-0 \
truncate-0 \
truncate64-0 \
unlink-0 \
unlink_static-0 \
unlinkat-0 \
utime-0 \
utimensat-0 \
utimensat_static-0 \
utimes-0 \
vfork-0 \
\
getcwd-gnulib_tst \
libsigsegv_tst \
pipe-fork_tst \
pipe-fork_static_tst \
sb_printf_tst \
sigsuspend-zsh_tst \
sigsuspend-zsh_static_tst \
trace-memory_static_tst
dist_check_SCRIPTS = \
$(wildcard $(srcdir)/*-[0-9]*.sh) \
script-0 \
trace-0
AM_LDFLAGS = `expr $@ : .*_static >/dev/null && echo -all-static`
sb_printf_tst_CFLAGS = -I$(top_srcdir)/libsbutil -I$(top_srcdir)/libsbutil/include
sb_printf_tst_LDADD = $(top_builddir)/libsbutil/libsbutil.la
if HAVE_LIBSIGSEGV
libsigsegv_tst_LDADD = -lsigsegv
endif
TESTSUITEFLAGS = --jobs=`getconf _NPROCESSORS_ONLN || echo 1`
check-local: atconfig atlocal $(TESTSUITE)
$(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests' $(TESTSUITEFLAGS)
installcheck-local: atconfig atlocal $(TESTSUITE)
$(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests:$(bindir)' $(TESTSUITEFLAGS)
clean-local:
test ! -f '$(TESTSUITE)' || \
$(SHELL) '$(TESTSUITE)' --clean
AUTOTEST = $(AUTOM4TE) --language=autotest
$(TESTSUITE): $(AT_FILES) testsuite.list.at
$(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
mv $@.tmp $@
testsuite.list.at: $(AT_FILES)
( echo "dnl DO NOT EDIT: GENERATED BY MAKEFILE.AM"; \
$(GREP) -l -e '^SB_CHECK' -e '^AT_CHECK' $(AT_FILES) | LC_ALL=C sort | \
$(SED) -e 's:^[.]/:sb_inc([:' -e 's:[.]at$$:]):' ) > $@
|