xref: /openbmc/hiomapd/test/Makefile.am.include (revision fd7e0d90)
1test_sanity_SOURCES = %reldir%/sanity.c
2
3test_copy_flash_SOURCES = \
4	%reldir%/copy_flash.c \
5	mboxd_flash.c \
6	common.c mtd.c \
7	%reldir%/tmpf.c
8
9test_erase_flash_SOURCES = \
10	%reldir%/erase_flash.c \
11	mboxd_flash.c \
12	common.c \
13	%reldir%/tmpf.c
14
15test_write_flash_SOURCES = \
16	%reldir%/write_flash.c \
17	mboxd_flash.c \
18	common.c \
19	%reldir%/tmpf.c
20
21TEST_MBOX_SRCS = \
22	mboxd_msg.c \
23	mboxd_windows.c \
24	mboxd_lpc.c \
25	mboxd_lpc_reset.c \
26	common.c \
27	mboxd_flash.c
28
29TEST_MOCK_SRCS = %reldir%/tmpf.c %reldir%/mbox.c %reldir%/system.c
30
31test_get_mbox_info_v2_SOURCES = %reldir%/get_mbox_info_v2.c \
32				$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
33
34test_reset_state_SOURCES = %reldir%/reset_state.c \
35			   $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
36
37test_get_flash_info_v2_SOURCES = %reldir%/get_flash_info_v2.c \
38				 $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
39
40test_create_read_window_v2_SOURCES = %reldir%/create_read_window_v2.c \
41				     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
42
43test_create_write_window_v2_SOURCES = %reldir%/create_write_window_v2.c \
44				      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
45
46test_close_window_v2_SOURCES = %reldir%/close_window_v2.c \
47			       $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
48
49test_mark_write_dirty_v2_SOURCES = %reldir%/mark_write_dirty_v2.c \
50				   $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
51
52test_write_flush_v2_SOURCES = %reldir%/write_flush_v2.c \
53			      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
54
55test_mark_write_erased_v2_SOURCES = %reldir%/mark_write_erased_v2.c \
56				    $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
57
58test_bmc_event_ack_v2_SOURCES = %reldir%/bmc_event_ack_v2.c \
59				$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
60
61test_create_oversize_window_SOURCES = %reldir%/create_oversize_window.c \
62				      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
63
64test_create_zero_size_window_SOURCES = %reldir%/create_zero_size_window.c \
65				       $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
66
67test_implicit_flush_SOURCES = %reldir%/implicit_flush.c \
68			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
69
70test_request_high_version_SOURCES = %reldir%/request_high_version.c \
71			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
72
73test_request_low_version_SOURCES = %reldir%/request_low_version.c \
74			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
75
76test_mark_read_dirty_SOURCES = %reldir%/mark_read_dirty.c \
77			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
78
79test_read_window_write_flush_SOURCES = %reldir%/read_window_write_flush.c \
80			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
81
82test_read_window_mark_write_erased_SOURCES = %reldir%/read_window_mark_write_erased.c \
83			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
84
85test_write_window_dirty_erase_SOURCES = %reldir%/write_window_dirty_erase.c \
86			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
87
88test_invalid_command_SOURCES = %reldir%/invalid_command.c \
89			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
90
91test_read_window_cycle_SOURCES = %reldir%/read_window_cycle.c \
92			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
93
94test_sequence_numbers_SOURCES = %reldir%/sequence_numbers.c \
95			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
96
97test_get_mbox_info_v2_timeout_SOURCES = %reldir%/get_mbox_info_v2_timeout.c \
98					$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
99
100check_PROGRAMS += \
101		%reldir%/sanity \
102		%reldir%/copy_flash \
103		%reldir%/erase_flash \
104		%reldir%/write_flash \
105		%reldir%/get_mbox_info_v2 \
106		%reldir%/reset_state \
107		%reldir%/get_flash_info_v2 \
108		%reldir%/create_read_window_v2 \
109		%reldir%/create_write_window_v2 \
110		%reldir%/close_window_v2 \
111		%reldir%/mark_write_dirty_v2 \
112		%reldir%/write_flush_v2 \
113		%reldir%/mark_write_erased_v2 \
114		%reldir%/bmc_event_ack_v2 \
115		%reldir%/create_oversize_window \
116		%reldir%/create_zero_size_window \
117		%reldir%/implicit_flush \
118		%reldir%/request_high_version \
119		%reldir%/request_low_version \
120		%reldir%/mark_read_dirty \
121		%reldir%/read_window_write_flush \
122		%reldir%/read_window_mark_write_erased \
123		%reldir%/write_window_dirty_erase \
124		%reldir%/invalid_command \
125		%reldir%/read_window_cycle \
126		%reldir%/sequence_numbers \
127		%reldir%/get_mbox_info_v2_timeout
128