aboutsummaryrefslogtreecommitdiff
path: root/tests/fs-tests/Makemodule.am
blob: 506dadcd204e416255f796826947133c4a85f639 (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
integck_SOURCES = tests/fs-tests/integrity/integck.c
integck_LDADD = libubi.a libmissing.a
integck_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/ubi-utils/include

test_1_SOURCES = tests/fs-tests/simple/test_1.c tests/fs-tests/lib/tests.c
test_1_SOURCES += tests/fs-tests/lib/tests.h
test_1_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

test_2_SOURCES = tests/fs-tests/simple/test_2.c tests/fs-tests/lib/tests.c
test_2_SOURCES += tests/fs-tests/lib/tests.h
test_2_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

ftrunc_SOURCES = tests/fs-tests/simple/ftrunc.c tests/fs-tests/lib/tests.c
ftrunc_SOURCES += tests/fs-tests/lib/tests.h
ftrunc_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

perf_SOURCES = tests/fs-tests/simple/perf.c tests/fs-tests/lib/tests.c
perf_SOURCES += tests/fs-tests/lib/tests.h
perf_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

orph_SOURCES = tests/fs-tests/simple/orph.c tests/fs-tests/lib/tests.c
orph_SOURCES += tests/fs-tests/lib/tests.h
orph_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

stress_1_SOURCES = tests/fs-tests/stress/atoms/stress_1.c
stress_1_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
stress_1_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

stress_2_SOURCES = tests/fs-tests/stress/atoms/stress_2.c
stress_2_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
stress_2_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

stress_3_SOURCES = tests/fs-tests/stress/atoms/stress_3.c
stress_3_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
stress_3_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

pdfrun_SOURCES = tests/fs-tests/stress/atoms/pdfrun.c
pdfrun_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
pdfrun_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

rndwrite00_SOURCES = tests/fs-tests/stress/atoms/rndwrite00.c
rndwrite00_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
rndwrite00_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

fwrite00_SOURCES = tests/fs-tests/stress/atoms/fwrite00.c
fwrite00_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
fwrite00_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

rmdir00_SOURCES = tests/fs-tests/stress/atoms/rmdir00.c
rmdir00_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
rmdir00_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

rndrm00_SOURCES = tests/fs-tests/stress/atoms/rndrm00.c
rndrm00_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
rndrm00_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

rndrm99_SOURCES = tests/fs-tests/stress/atoms/rndrm99.c
rndrm99_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
rndrm99_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

gcd_hupper_SOURCES = tests/fs-tests/stress/atoms/gcd_hupper.c
gcd_hupper_SOURCES += tests/fs-tests/lib/tests.c tests/fs-tests/lib/tests.h
gcd_hupper_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib

fstest_monitor_SOURCES = tests/fs-tests/utils/fstest_monitor.c

free_space_SOURCES = tests/fs-tests/utils/free_space.c

FSTEST_BINS = \
	integck test_1 test_2 ftrunc perf orph \
	stress_1 stress_2 stress_3 pdfrun gcd_hupper \
	rndwrite00 fwrite00 rmdir00 rndrm00 rndrm99 \
	fstest_monitor free_space

FSTEST_SH = \
	tests/fs-tests/fs_help_all.sh tests/fs-tests/fs_run_all.sh \
	tests/fs-tests/stress/fs_stress00.sh \
	tests/fs-tests/stress/fs_stress01.sh

if INSTALL_TESTS
pkglibexec_SCRIPTS += $(FSTEST_SH)
pkglibexec_PROGRAMS += $(FSTEST_BINS)
else
noinst_SCRIPTS += $(FSTEST_SH)
noinst_PROGRAMS += $(FSTEST_BINS)
endif