summaryrefslogtreecommitdiff
path: root/tests/libfstree/Makemodule.am
blob: 5ae44a61cfb77c05d5a112e2e344000a50651008 (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
FSTDATADIR=$(top_srcdir)/tests/libfstree

test_mknode_simple_SOURCES = tests/libfstree/mknode_simple.c
test_mknode_simple_LDADD = libfstree.a libcompat.a

test_mknode_slink_SOURCES = tests/libfstree/mknode_slink.c
test_mknode_slink_LDADD = libfstree.a libcompat.a

test_mknode_reg_SOURCES = tests/libfstree/mknode_reg.c
test_mknode_reg_LDADD = libfstree.a libcompat.a

test_mknode_dir_SOURCES = tests/libfstree/mknode_dir.c
test_mknode_dir_LDADD = libfstree.a libcompat.a

test_gen_inode_numbers_SOURCES = tests/libfstree/gen_inode_numbers.c
test_gen_inode_numbers_LDADD = libfstree.a libutil.a libcompat.a

test_add_by_path_SOURCES = tests/libfstree/add_by_path.c
test_add_by_path_LDADD = libfstree.a libutil.a libcompat.a

test_get_path_SOURCES = tests/libfstree/get_path.c
test_get_path_LDADD = libfstree.a libutil.a libcompat.a

test_fstree_sort_SOURCES = tests/libfstree/fstree_sort.c
test_fstree_sort_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
test_fstree_sort_LDADD = libfstree.a libio.a libutil.a libcompat.a

test_fstree_init_SOURCES = tests/libfstree/fstree_init.c
test_fstree_init_LDADD = libfstree.a libio.a libutil.a libcompat.a

FSTREE_TESTS = \
	test_mknode_simple test_mknode_slink \
	test_mknode_reg test_mknode_dir test_gen_inode_numbers \
	test_add_by_path test_get_path test_fstree_sort \
	test_fstree_init

if BUILD_TOOLS
check_PROGRAMS += $(FSTREE_TESTS)
TESTS += $(FSTREE_TESTS)
endif