3 LDADD = ../lxc/liblxc.la
5 lxc_test_api_reboot_SOURCES = api_reboot.c
6 lxc_test_apparmor_SOURCES = aa.c
7 lxc_test_attach_SOURCES = attach.c
8 lxc_test_basic_SOURCES = basic.c
9 lxc_test_cgpath_SOURCES = cgpath.c
10 lxc_test_clonetest_SOURCES = clonetest.c
11 lxc_test_concurrent_SOURCES = concurrent.c
12 lxc_test_config_jump_table_SOURCES = config_jump_table.c lxctest.h
13 lxc_test_console_SOURCES = console.c
14 lxc_test_console_log_SOURCES = console_log.c lxctest.h
15 lxc_test_containertests_SOURCES = containertests.c
16 lxc_test_createtest_SOURCES = createtest.c
17 lxc_test_criu_check_feature_SOURCES = criu_check_feature.c lxctest.h
18 lxc_test_cve_2019_5736_SOURCES = cve-2019-5736.c lxctest.h
19 lxc_test_destroytest_SOURCES = destroytest.c
20 lxc_test_device_add_remove_SOURCES = device_add_remove.c
21 lxc_test_getkeys_SOURCES = getkeys.c
22 lxc_test_get_item_SOURCES = get_item.c
23 lxc_test_list_SOURCES = list.c
24 lxc_test_locktests_SOURCES = locktests.c
25 lxc_test_lxcpath_SOURCES = lxcpath.c
26 lxc_test_may_control_SOURCES = may_control.c
27 lxc_test_mount_injection_SOURCES = mount_injection.c lxctest.h
28 lxc_test_parse_config_file_SOURCES = parse_config_file.c lxctest.h
29 lxc_test_raw_clone_SOURCES = lxc_raw_clone.c \
31 ../lxc/namespace.c ../lxc/namespace.h \
32 ../lxc/raw_syscalls.c ../lxc/raw_syscalls.h
33 ../lxc/utils.c ../lxc/utils.h
34 lxc_test_reboot_SOURCES = reboot.c
35 lxc_test_saveconfig_SOURCES = saveconfig.c
36 lxc_test_share_ns_SOURCES = share_ns.c lxctest.h
37 lxc_test_shortlived_SOURCES = shortlived.c
38 lxc_test_shutdowntest_SOURCES = shutdowntest.c
39 lxc_test_snapshot_SOURCES = snapshot.c
40 lxc_test_startone_SOURCES = startone.c
41 lxc_test_state_server_SOURCES = state_server.c lxctest.h
42 lxc_test_utils_SOURCES = lxc-test-utils.c lxctest.h
44 AM_CFLAGS=-DLXCROOTFSMOUNT=\"$(LXCROOTFSMOUNT)\" \
45 -DLXCPATH=\"$(LXCPATH)\" \
46 -DLXC_GLOBAL_CONF=\"$(LXC_GLOBAL_CONF)\" \
47 -DLXCINITDIR=\"$(LXCINITDIR)\" \
48 -DLXC_DEFAULT_CONFIG=\"$(LXC_DEFAULT_CONFIG)\" \
49 -DRUNTIME_PATH=\"$(RUNTIME_PATH)\" \
50 -I $(top_srcdir)/src \
51 -I $(top_srcdir)/src/lxc \
52 -I $(top_srcdir)/src/lxc/cgroups \
53 -I $(top_srcdir)/src/lxc/tools \
57 AM_CFLAGS += -DHAVE_APPARMOR
61 AM_CFLAGS += -DHAVE_SELINUX
64 bin_PROGRAMS = lxc-test-api-reboot \
71 lxc-test-config-jump-table \
73 lxc-test-console-log \
74 lxc-test-containertests \
76 lxc-test-criu-check-feature \
77 lxc-test-cve-2019-5736 \
78 lxc-test-destroytest \
79 lxc-test-device-add-remove \
85 lxc-test-may-control \
86 lxc-test-mount-injection \
87 lxc-test-parse-config-file \
93 lxc-test-shutdowntest \
96 lxc-test-state-server \
101 bin_SCRIPTS += lxc-test-automount \
103 lxc-test-cloneconfig \
104 lxc-test-createconfig \
105 lxc-test-no-new-privs \
109 bin_SCRIPTS += lxc-test-lxc-attach \
110 lxc-test-apparmor-mount \
111 lxc-test-apparmor-generated \
112 lxc-test-checkpoint-restore \
122 EXTRA_DIST = basic.c \
126 config_jump_table.c \
131 criu_check_feature.c \
134 device_add_remove.c \
141 lxc-test-lxc-attach \
145 lxc-test-apparmor-mount \
146 lxc-test-apparmor-generated \
147 lxc-test-checkpoint-restore \
148 lxc-test-cloneconfig \
149 lxc-test-createconfig \
150 lxc-test-no-new-privs \
157 parse_config_file.c \
167 rm -f lxc-test-utils-*
168 rm -f lxc-parse-config-file-*