xref: /openbmc/hiomapd/test/Makefile.am.include (revision c7d1947e)
15345c51eSAndrew Jefferytest_sanity_SOURCES = %reldir%/sanity.c
25345c51eSAndrew Jeffery
3e0cdd3eaSAndrew Jefferytest_flash_copy_SOURCES = \
4e0cdd3eaSAndrew Jeffery	%reldir%/flash_copy.c \
5eebc6bd4SAndrew Jeffery	flash.c \
65345c51eSAndrew Jeffery	common.c mtd.c \
75345c51eSAndrew Jeffery	%reldir%/tmpf.c
85345c51eSAndrew Jeffery
94f5d29cfSAndrew Jefferytest_flash_erase_SOURCES = \
104f5d29cfSAndrew Jeffery	%reldir%/flash_erase.c \
11eebc6bd4SAndrew Jeffery	flash.c \
125345c51eSAndrew Jeffery	common.c \
135345c51eSAndrew Jeffery	%reldir%/tmpf.c
145345c51eSAndrew Jeffery
150293f2f5SAndrew Jefferytest_flash_write_SOURCES = \
160293f2f5SAndrew Jeffery	%reldir%/flash_write.c \
17eebc6bd4SAndrew Jeffery	flash.c \
185345c51eSAndrew Jeffery	common.c \
195345c51eSAndrew Jeffery	%reldir%/tmpf.c
205345c51eSAndrew Jeffery
215345c51eSAndrew JefferyTEST_MBOX_SRCS = \
22457a6e5fSAndrew Jeffery	transport_mbox.c \
23f593b1bdSAndrew Jeffery	windows.c \
24cd18611eSAndrew Jeffery	lpc.c \
25cd18611eSAndrew Jeffery	lpc_reset.c \
265345c51eSAndrew Jeffery	common.c \
271e531afdSAndrew Jeffery	flash.c \
28*c7d1947eSAndrew Jeffery	protocol.c \
29*c7d1947eSAndrew Jeffery	protocol_negotiate_version.c
305345c51eSAndrew Jeffery
315345c51eSAndrew JefferyTEST_MOCK_SRCS = %reldir%/tmpf.c %reldir%/mbox.c %reldir%/system.c
325345c51eSAndrew Jeffery
335345c51eSAndrew Jefferytest_get_mbox_info_v2_SOURCES = %reldir%/get_mbox_info_v2.c \
345345c51eSAndrew Jeffery				$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
355345c51eSAndrew Jeffery
365345c51eSAndrew Jefferytest_reset_state_SOURCES = %reldir%/reset_state.c \
375345c51eSAndrew Jeffery			   $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
385345c51eSAndrew Jeffery
395345c51eSAndrew Jefferytest_get_flash_info_v2_SOURCES = %reldir%/get_flash_info_v2.c \
405345c51eSAndrew Jeffery				 $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
415345c51eSAndrew Jeffery
425345c51eSAndrew Jefferytest_create_read_window_v2_SOURCES = %reldir%/create_read_window_v2.c \
435345c51eSAndrew Jeffery				     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
445345c51eSAndrew Jeffery
455345c51eSAndrew Jefferytest_create_write_window_v2_SOURCES = %reldir%/create_write_window_v2.c \
465345c51eSAndrew Jeffery				      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
475345c51eSAndrew Jeffery
485345c51eSAndrew Jefferytest_close_window_v2_SOURCES = %reldir%/close_window_v2.c \
495345c51eSAndrew Jeffery			       $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
505345c51eSAndrew Jeffery
515345c51eSAndrew Jefferytest_mark_write_dirty_v2_SOURCES = %reldir%/mark_write_dirty_v2.c \
525345c51eSAndrew Jeffery				   $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
535345c51eSAndrew Jeffery
545345c51eSAndrew Jefferytest_write_flush_v2_SOURCES = %reldir%/write_flush_v2.c \
555345c51eSAndrew Jeffery			      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
565345c51eSAndrew Jeffery
575345c51eSAndrew Jefferytest_mark_write_erased_v2_SOURCES = %reldir%/mark_write_erased_v2.c \
585345c51eSAndrew Jeffery				    $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
595345c51eSAndrew Jeffery
605345c51eSAndrew Jefferytest_bmc_event_ack_v2_SOURCES = %reldir%/bmc_event_ack_v2.c \
615345c51eSAndrew Jeffery				$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
625345c51eSAndrew Jeffery
635345c51eSAndrew Jefferytest_create_oversize_window_SOURCES = %reldir%/create_oversize_window.c \
645345c51eSAndrew Jeffery				      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
655345c51eSAndrew Jeffery
665345c51eSAndrew Jefferytest_create_zero_size_window_SOURCES = %reldir%/create_zero_size_window.c \
675345c51eSAndrew Jeffery				       $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
685345c51eSAndrew Jeffery
695345c51eSAndrew Jefferytest_implicit_flush_SOURCES = %reldir%/implicit_flush.c \
705345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
715345c51eSAndrew Jeffery
725345c51eSAndrew Jefferytest_request_high_version_SOURCES = %reldir%/request_high_version.c \
735345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
745345c51eSAndrew Jeffery
755345c51eSAndrew Jefferytest_request_low_version_SOURCES = %reldir%/request_low_version.c \
765345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
775345c51eSAndrew Jeffery
785345c51eSAndrew Jefferytest_mark_read_dirty_SOURCES = %reldir%/mark_read_dirty.c \
795345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
805345c51eSAndrew Jeffery
815345c51eSAndrew Jefferytest_read_window_write_flush_SOURCES = %reldir%/read_window_write_flush.c \
825345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
835345c51eSAndrew Jeffery
845345c51eSAndrew Jefferytest_read_window_mark_write_erased_SOURCES = %reldir%/read_window_mark_write_erased.c \
855345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
865345c51eSAndrew Jeffery
875345c51eSAndrew Jefferytest_write_window_dirty_erase_SOURCES = %reldir%/write_window_dirty_erase.c \
885345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
895345c51eSAndrew Jeffery
905345c51eSAndrew Jefferytest_invalid_command_SOURCES = %reldir%/invalid_command.c \
915345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
925345c51eSAndrew Jeffery
935345c51eSAndrew Jefferytest_read_window_cycle_SOURCES = %reldir%/read_window_cycle.c \
945345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
955345c51eSAndrew Jeffery
965345c51eSAndrew Jefferytest_sequence_numbers_SOURCES = %reldir%/sequence_numbers.c \
975345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
985345c51eSAndrew Jeffery
995345c51eSAndrew Jefferytest_get_mbox_info_v2_timeout_SOURCES = %reldir%/get_mbox_info_v2_timeout.c \
1005345c51eSAndrew Jeffery					$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
1015345c51eSAndrew Jeffery
10285985915SAndrew Jefferycheck_PROGRAMS += \
10385985915SAndrew Jeffery		%reldir%/sanity \
104e0cdd3eaSAndrew Jeffery		%reldir%/flash_copy \
1054f5d29cfSAndrew Jeffery		%reldir%/flash_erase \
1060293f2f5SAndrew Jeffery		%reldir%/flash_write \
1075345c51eSAndrew Jeffery		%reldir%/get_mbox_info_v2 \
1085345c51eSAndrew Jeffery		%reldir%/reset_state \
1095345c51eSAndrew Jeffery		%reldir%/get_flash_info_v2 \
1105345c51eSAndrew Jeffery		%reldir%/create_read_window_v2 \
1115345c51eSAndrew Jeffery		%reldir%/create_write_window_v2 \
1125345c51eSAndrew Jeffery		%reldir%/close_window_v2 \
1135345c51eSAndrew Jeffery		%reldir%/mark_write_dirty_v2 \
1145345c51eSAndrew Jeffery		%reldir%/write_flush_v2 \
1155345c51eSAndrew Jeffery		%reldir%/mark_write_erased_v2 \
1165345c51eSAndrew Jeffery		%reldir%/bmc_event_ack_v2 \
1175345c51eSAndrew Jeffery		%reldir%/create_oversize_window \
1185345c51eSAndrew Jeffery		%reldir%/create_zero_size_window \
1195345c51eSAndrew Jeffery		%reldir%/implicit_flush \
1205345c51eSAndrew Jeffery		%reldir%/request_high_version \
1215345c51eSAndrew Jeffery		%reldir%/request_low_version \
1225345c51eSAndrew Jeffery		%reldir%/mark_read_dirty \
1235345c51eSAndrew Jeffery		%reldir%/read_window_write_flush \
1245345c51eSAndrew Jeffery		%reldir%/read_window_mark_write_erased \
1255345c51eSAndrew Jeffery		%reldir%/write_window_dirty_erase \
1265345c51eSAndrew Jeffery		%reldir%/invalid_command \
1275345c51eSAndrew Jeffery		%reldir%/read_window_cycle \
1285345c51eSAndrew Jeffery		%reldir%/sequence_numbers \
1295345c51eSAndrew Jeffery		%reldir%/get_mbox_info_v2_timeout
130