xref: /openbmc/hiomapd/test/Makefile.am.include (revision eebc6bd4)
15345c51eSAndrew Jefferytest_sanity_SOURCES = %reldir%/sanity.c
25345c51eSAndrew Jeffery
35345c51eSAndrew Jefferytest_copy_flash_SOURCES = \
45345c51eSAndrew Jeffery	%reldir%/copy_flash.c \
5*eebc6bd4SAndrew Jeffery	flash.c \
65345c51eSAndrew Jeffery	common.c mtd.c \
75345c51eSAndrew Jeffery	%reldir%/tmpf.c
85345c51eSAndrew Jeffery
95345c51eSAndrew Jefferytest_erase_flash_SOURCES = \
105345c51eSAndrew Jeffery	%reldir%/erase_flash.c \
11*eebc6bd4SAndrew Jeffery	flash.c \
125345c51eSAndrew Jeffery	common.c \
135345c51eSAndrew Jeffery	%reldir%/tmpf.c
145345c51eSAndrew Jeffery
155345c51eSAndrew Jefferytest_write_flash_SOURCES = \
165345c51eSAndrew Jeffery	%reldir%/write_flash.c \
17*eebc6bd4SAndrew Jeffery	flash.c \
185345c51eSAndrew Jeffery	common.c \
195345c51eSAndrew Jeffery	%reldir%/tmpf.c
205345c51eSAndrew Jeffery
215345c51eSAndrew JefferyTEST_MBOX_SRCS = \
225345c51eSAndrew Jeffery	mboxd_msg.c \
235345c51eSAndrew Jeffery	mboxd_windows.c \
245345c51eSAndrew Jeffery	mboxd_lpc.c \
2553c21aaaSAndrew Jeffery	mboxd_lpc_reset.c \
265345c51eSAndrew Jeffery	common.c \
27*eebc6bd4SAndrew Jeffery	flash.c
285345c51eSAndrew Jeffery
295345c51eSAndrew JefferyTEST_MOCK_SRCS = %reldir%/tmpf.c %reldir%/mbox.c %reldir%/system.c
305345c51eSAndrew Jeffery
315345c51eSAndrew Jefferytest_get_mbox_info_v2_SOURCES = %reldir%/get_mbox_info_v2.c \
325345c51eSAndrew Jeffery				$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
335345c51eSAndrew Jeffery
345345c51eSAndrew Jefferytest_reset_state_SOURCES = %reldir%/reset_state.c \
355345c51eSAndrew Jeffery			   $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
365345c51eSAndrew Jeffery
375345c51eSAndrew Jefferytest_get_flash_info_v2_SOURCES = %reldir%/get_flash_info_v2.c \
385345c51eSAndrew Jeffery				 $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
395345c51eSAndrew Jeffery
405345c51eSAndrew Jefferytest_create_read_window_v2_SOURCES = %reldir%/create_read_window_v2.c \
415345c51eSAndrew Jeffery				     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
425345c51eSAndrew Jeffery
435345c51eSAndrew Jefferytest_create_write_window_v2_SOURCES = %reldir%/create_write_window_v2.c \
445345c51eSAndrew Jeffery				      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
455345c51eSAndrew Jeffery
465345c51eSAndrew Jefferytest_close_window_v2_SOURCES = %reldir%/close_window_v2.c \
475345c51eSAndrew Jeffery			       $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
485345c51eSAndrew Jeffery
495345c51eSAndrew Jefferytest_mark_write_dirty_v2_SOURCES = %reldir%/mark_write_dirty_v2.c \
505345c51eSAndrew Jeffery				   $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
515345c51eSAndrew Jeffery
525345c51eSAndrew Jefferytest_write_flush_v2_SOURCES = %reldir%/write_flush_v2.c \
535345c51eSAndrew Jeffery			      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
545345c51eSAndrew Jeffery
555345c51eSAndrew Jefferytest_mark_write_erased_v2_SOURCES = %reldir%/mark_write_erased_v2.c \
565345c51eSAndrew Jeffery				    $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
575345c51eSAndrew Jeffery
585345c51eSAndrew Jefferytest_bmc_event_ack_v2_SOURCES = %reldir%/bmc_event_ack_v2.c \
595345c51eSAndrew Jeffery				$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
605345c51eSAndrew Jeffery
615345c51eSAndrew Jefferytest_create_oversize_window_SOURCES = %reldir%/create_oversize_window.c \
625345c51eSAndrew Jeffery				      $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
635345c51eSAndrew Jeffery
645345c51eSAndrew Jefferytest_create_zero_size_window_SOURCES = %reldir%/create_zero_size_window.c \
655345c51eSAndrew Jeffery				       $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
665345c51eSAndrew Jeffery
675345c51eSAndrew Jefferytest_implicit_flush_SOURCES = %reldir%/implicit_flush.c \
685345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
695345c51eSAndrew Jeffery
705345c51eSAndrew Jefferytest_request_high_version_SOURCES = %reldir%/request_high_version.c \
715345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
725345c51eSAndrew Jeffery
735345c51eSAndrew Jefferytest_request_low_version_SOURCES = %reldir%/request_low_version.c \
745345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
755345c51eSAndrew Jeffery
765345c51eSAndrew Jefferytest_mark_read_dirty_SOURCES = %reldir%/mark_read_dirty.c \
775345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
785345c51eSAndrew Jeffery
795345c51eSAndrew Jefferytest_read_window_write_flush_SOURCES = %reldir%/read_window_write_flush.c \
805345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
815345c51eSAndrew Jeffery
825345c51eSAndrew Jefferytest_read_window_mark_write_erased_SOURCES = %reldir%/read_window_mark_write_erased.c \
835345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
845345c51eSAndrew Jeffery
855345c51eSAndrew Jefferytest_write_window_dirty_erase_SOURCES = %reldir%/write_window_dirty_erase.c \
865345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
875345c51eSAndrew Jeffery
885345c51eSAndrew Jefferytest_invalid_command_SOURCES = %reldir%/invalid_command.c \
895345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
905345c51eSAndrew Jeffery
915345c51eSAndrew Jefferytest_read_window_cycle_SOURCES = %reldir%/read_window_cycle.c \
925345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
935345c51eSAndrew Jeffery
945345c51eSAndrew Jefferytest_sequence_numbers_SOURCES = %reldir%/sequence_numbers.c \
955345c51eSAndrew Jeffery			     $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
965345c51eSAndrew Jeffery
975345c51eSAndrew Jefferytest_get_mbox_info_v2_timeout_SOURCES = %reldir%/get_mbox_info_v2_timeout.c \
985345c51eSAndrew Jeffery					$(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS)
995345c51eSAndrew Jeffery
10085985915SAndrew Jefferycheck_PROGRAMS += \
10185985915SAndrew Jeffery		%reldir%/sanity \
1025345c51eSAndrew Jeffery		%reldir%/copy_flash \
1035345c51eSAndrew Jeffery		%reldir%/erase_flash \
1045345c51eSAndrew Jeffery		%reldir%/write_flash \
1055345c51eSAndrew Jeffery		%reldir%/get_mbox_info_v2 \
1065345c51eSAndrew Jeffery		%reldir%/reset_state \
1075345c51eSAndrew Jeffery		%reldir%/get_flash_info_v2 \
1085345c51eSAndrew Jeffery		%reldir%/create_read_window_v2 \
1095345c51eSAndrew Jeffery		%reldir%/create_write_window_v2 \
1105345c51eSAndrew Jeffery		%reldir%/close_window_v2 \
1115345c51eSAndrew Jeffery		%reldir%/mark_write_dirty_v2 \
1125345c51eSAndrew Jeffery		%reldir%/write_flush_v2 \
1135345c51eSAndrew Jeffery		%reldir%/mark_write_erased_v2 \
1145345c51eSAndrew Jeffery		%reldir%/bmc_event_ack_v2 \
1155345c51eSAndrew Jeffery		%reldir%/create_oversize_window \
1165345c51eSAndrew Jeffery		%reldir%/create_zero_size_window \
1175345c51eSAndrew Jeffery		%reldir%/implicit_flush \
1185345c51eSAndrew Jeffery		%reldir%/request_high_version \
1195345c51eSAndrew Jeffery		%reldir%/request_low_version \
1205345c51eSAndrew Jeffery		%reldir%/mark_read_dirty \
1215345c51eSAndrew Jeffery		%reldir%/read_window_write_flush \
1225345c51eSAndrew Jeffery		%reldir%/read_window_mark_write_erased \
1235345c51eSAndrew Jeffery		%reldir%/write_window_dirty_erase \
1245345c51eSAndrew Jeffery		%reldir%/invalid_command \
1255345c51eSAndrew Jeffery		%reldir%/read_window_cycle \
1265345c51eSAndrew Jeffery		%reldir%/sequence_numbers \
1275345c51eSAndrew Jeffery		%reldir%/get_mbox_info_v2_timeout
128