]> git.proxmox.com Git - mirror_lxc.git/blame - src/tests/Makefile.am
spelling: timeout
[mirror_lxc.git] / src / tests / Makefile.am
CommitLineData
525421c9
SG
1if ENABLE_TESTS
2
26419a7a 3LDADD = ../lxc/liblxc.la
fd5c4f90 4
691544a0
CB
5lxc_test_api_reboot_SOURCES = api_reboot.c
6lxc_test_apparmor_SOURCES = aa.c
7lxc_test_attach_SOURCES = attach.c
c8208ff0 8lxc_test_basic_SOURCES = basic.c
ae5c8b8e 9lxc_test_cgpath_SOURCES = cgpath.c
9be53773 10lxc_test_clonetest_SOURCES = clonetest.c
691544a0
CB
11lxc_test_concurrent_SOURCES = concurrent.c
12lxc_test_config_jump_table_SOURCES = config_jump_table.c lxctest.h
0115f8fd 13lxc_test_console_SOURCES = console.c
a52c1c68 14lxc_test_console_log_SOURCES = console_log.c lxctest.h
691544a0
CB
15lxc_test_containertests_SOURCES = containertests.c
16lxc_test_createtest_SOURCES = createtest.c
17lxc_test_criu_check_feature_SOURCES = criu_check_feature.c lxctest.h
18lxc_test_destroytest_SOURCES = destroytest.c
710bde5e 19lxc_test_device_add_remove_SOURCES = device_add_remove.c
691544a0
CB
20lxc_test_getkeys_SOURCES = getkeys.c
21lxc_test_get_item_SOURCES = get_item.c
22lxc_test_list_SOURCES = list.c
23lxc_test_locktests_SOURCES = locktests.c
24lxc_test_lxcpath_SOURCES = lxcpath.c
25lxc_test_may_control_SOURCES = may_control.c
26lxc_test_mount_injection_SOURCES = mount_injection.c lxctest.h
9c61a6d6 27lxc_test_parse_config_file_SOURCES = parse_config_file.c lxctest.h
1f797c3a
CB
28lxc_test_raw_clone_SOURCES = lxc_raw_clone.c \
29 lxctest.h \
30 ../lxc/namespace.c ../lxc/namespace.h \
31 ../lxc/raw_syscalls.c ../lxc/raw_syscalls.h
32 ../lxc/utils.c ../lxc/utils.h
691544a0
CB
33lxc_test_reboot_SOURCES = reboot.c
34lxc_test_saveconfig_SOURCES = saveconfig.c
35lxc_test_share_ns_SOURCES = share_ns.c lxctest.h
3df9fa82 36lxc_test_shortlived_SOURCES = shortlived.c
691544a0
CB
37lxc_test_shutdowntest_SOURCES = shutdowntest.c
38lxc_test_snapshot_SOURCES = snapshot.c
39lxc_test_startone_SOURCES = startone.c
fc788340 40lxc_test_state_server_SOURCES = state_server.c lxctest.h
691544a0 41lxc_test_utils_SOURCES = lxc-test-utils.c lxctest.h
72d0e1cb 42
ca1e6c02 43AM_CFLAGS=-DLXCROOTFSMOUNT=\"$(LXCROOTFSMOUNT)\" \
691544a0
CB
44 -DLXCPATH=\"$(LXCPATH)\" \
45 -DLXC_GLOBAL_CONF=\"$(LXC_GLOBAL_CONF)\" \
46 -DLXCINITDIR=\"$(LXCINITDIR)\" \
47 -DLXC_DEFAULT_CONFIG=\"$(LXC_DEFAULT_CONFIG)\" \
48 -DRUNTIME_PATH=\"$(RUNTIME_PATH)\" \
49 -I $(top_srcdir)/src \
50 -I $(top_srcdir)/src/lxc \
51 -I $(top_srcdir)/src/lxc/bdev \
52 -I $(top_srcdir)/src/lxc/cgroups \
53 -I $(top_srcdir)/src/lxc/tools \
54 -pthread
72d0e1cb 55
72863294
DE
56if ENABLE_APPARMOR
57AM_CFLAGS += -DHAVE_APPARMOR
58endif
59
60if ENABLE_SELINUX
61AM_CFLAGS += -DHAVE_SELINUX
62endif
63
691544a0
CB
64bin_PROGRAMS = lxc-test-api-reboot \
65 lxc-test-apparmor \
66 lxc-test-attach \
67 lxc-test-basic \
68 lxc-test-cgpath \
69 lxc-test-clonetest \
70 lxc-test-concurrent \
71 lxc-test-config-jump-table \
72 lxc-test-console \
73 lxc-test-console-log \
74 lxc-test-containertests \
75 lxc-test-createtest \
76 lxc-test-criu-check-feature \
77 lxc-test-destroytest \
78 lxc-test-device-add-remove \
79 lxc-test-getkeys \
80 lxc-test-get_item \
81 lxc-test-list \
82 lxc-test-locktests \
83 lxc-test-lxcpath \
84 lxc-test-may-control \
85 lxc-test-mount-injection \
86 lxc-test-parse-config-file \
87 lxc-test-raw-clone \
88 lxc-test-reboot \
89 lxc-test-saveconfig \
90 lxc-test-share-ns \
91 lxc-test-shortlived \
92 lxc-test-shutdowntest \
93 lxc-test-snapshot \
94 lxc-test-startone \
95 lxc-test-state-server \
96 lxc-test-utils
20ab58c7 97
a9145d62
CB
98bin_SCRIPTS =
99if ENABLE_TOOLS
100bin_SCRIPTS += lxc-test-automount \
691544a0
CB
101 lxc-test-autostart \
102 lxc-test-cloneconfig \
103 lxc-test-createconfig \
104 lxc-test-no-new-privs \
105 lxc-test-rootfs
525421c9 106
025f59ab 107if DISTRO_UBUNTU
691544a0
CB
108bin_SCRIPTS += lxc-test-lxc-attach \
109 lxc-test-apparmor-mount \
110 lxc-test-apparmor-generated \
111 lxc-test-checkpoint-restore \
112 lxc-test-snapdeps \
113 lxc-test-symlink \
114 lxc-test-unpriv \
115 lxc-test-usernic
025f59ab 116endif
a9145d62 117endif
025f59ab 118
525421c9 119endif
90341b9e 120
691544a0
CB
121EXTRA_DIST = basic.c \
122 cgpath.c \
123 clonetest.c \
124 concurrent.c \
125 config_jump_table.c \
126 console.c \
127 console_log.c \
128 containertests.c \
129 createtest.c \
130 criu_check_feature.c \
131 destroytest.c \
132 device_add_remove.c \
133 get_item.c \
134 getkeys.c \
135 list.c \
136 locktests.c \
137 lxcpath.c \
138 lxc_raw_clone.c \
139 lxc-test-lxc-attach \
140 lxc-test-automount \
141 lxc-test-rootfs \
142 lxc-test-autostart \
143 lxc-test-apparmor-mount \
144 lxc-test-apparmor-generated \
145 lxc-test-checkpoint-restore \
146 lxc-test-cloneconfig \
147 lxc-test-createconfig \
148 lxc-test-no-new-privs \
149 lxc-test-snapdeps \
150 lxc-test-symlink \
151 lxc-test-unpriv \
152 lxc-test-utils.c \
153 may_control.c \
154 mount_injection.c \
155 parse_config_file.c \
156 saveconfig.c \
157 shortlived.c \
158 shutdowntest.c \
159 snapshot.c \
160 startone.c \
161 state_server.c \
162 share_ns.c
24b9970e
CB
163
164clean-local:
165 rm -f lxc-test-utils-*
9c61a6d6 166 rm -f lxc-parse-config-file-*