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