summaryrefslogtreecommitdiff
path: root/tests/Makemodule.am
blob: f9232dccba497b05326adf2ec539d64ef7c32c61 (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
test_canonicalize_name_SOURCES = tests/canonicalize_name.c
test_canonicalize_name_LDADD = libutil.a

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

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

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

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

test_gen_inode_table_SOURCES = tests/gen_inode_table.c
test_gen_inode_table_LDADD = libfstree.a libutil.a

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

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

test_fstree_sort_SOURCES = tests/fstree_sort.c
test_fstree_sort_LDADD = libfstree.a libutil.a

test_fstree_from_file_SOURCES = tests/fstree_from_file.c
test_fstree_from_file_LDADD = libfstree.a libutil.a

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

test_fstree_xattr_SOURCES = tests/fstree_xattr.c
test_fstree_xattr_LDADD = libfstree.a libutil.a

test_tar_gnu_SOURCES = tests/tar_gnu.c
test_tar_gnu_LDADD = libtar.a libutil.a
test_tar_gnu_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/tar

test_tar_pax_SOURCES = tests/tar_pax.c
test_tar_pax_LDADD = libtar.a libutil.a
test_tar_pax_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/tar

test_tar_ustar_SOURCES = tests/tar_ustar.c
test_tar_ustar_LDADD = libtar.a libutil.a
test_tar_ustar_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/tar

test_tar_sparse_gnu_SOURCES = tests/tar_sparse_gnu.c
test_tar_sparse_gnu_LDADD = libtar.a libutil.a
test_tar_sparse_gnu_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/tar

test_tar_sparse_gnu1_SOURCES = tests/tar_sparse_gnu1.c
test_tar_sparse_gnu1_LDADD = libtar.a libutil.a
test_tar_sparse_gnu1_CPPFLAGS = $(AM_CPPFLAGS)
test_tar_sparse_gnu1_CPPFLAGS += -DTESTPATH=$(top_srcdir)/tests/tar

check_PROGRAMS += test_canonicalize_name test_mknode_simple test_mknode_slink
check_PROGRAMS += test_mknode_reg test_mknode_dir test_gen_inode_table
check_PROGRAMS += test_add_by_path test_get_path test_fstree_sort
check_PROGRAMS += test_fstree_from_file test_fstree_init test_fstree_xattr
check_PROGRAMS += test_tar_ustar test_tar_pax test_tar_gnu test_tar_sparse_gnu
check_PROGRAMS += test_tar_sparse_gnu1

TESTS += test_canonicalize_name test_mknode_simple test_mknode_slink
TESTS += test_mknode_reg test_mknode_dir test_gen_inode_table
TESTS += test_add_by_path test_get_path test_fstree_sort test_fstree_from_file
TESTS += test_fstree_init test_fstree_xattr test_tar_ustar test_tar_pax
TESTS += test_tar_gnu test_tar_sparse_gnu test_tar_sparse_gnu1

EXTRA_DIST += $(top_srcdir)/tests/tar