Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 1 | test_sanity_SOURCES = %reldir%/sanity.c |
| 2 | |
| 3 | test_copy_flash_SOURCES = \ |
| 4 | %reldir%/copy_flash.c \ |
Andrew Jeffery | 53c21aa | 2018-03-26 11:56:16 +1030 | [diff] [blame] | 5 | mboxd_flash.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 6 | common.c mtd.c \ |
| 7 | %reldir%/tmpf.c |
| 8 | |
| 9 | test_erase_flash_SOURCES = \ |
| 10 | %reldir%/erase_flash.c \ |
Andrew Jeffery | 53c21aa | 2018-03-26 11:56:16 +1030 | [diff] [blame] | 11 | mboxd_flash.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 12 | common.c \ |
| 13 | %reldir%/tmpf.c |
| 14 | |
| 15 | test_write_flash_SOURCES = \ |
| 16 | %reldir%/write_flash.c \ |
Andrew Jeffery | 53c21aa | 2018-03-26 11:56:16 +1030 | [diff] [blame] | 17 | mboxd_flash.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 18 | common.c \ |
| 19 | %reldir%/tmpf.c |
| 20 | |
| 21 | TEST_MBOX_SRCS = \ |
| 22 | mboxd_msg.c \ |
| 23 | mboxd_windows.c \ |
| 24 | mboxd_lpc.c \ |
Andrew Jeffery | 53c21aa | 2018-03-26 11:56:16 +1030 | [diff] [blame] | 25 | mboxd_lpc_reset.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 26 | common.c \ |
Andrew Jeffery | 53c21aa | 2018-03-26 11:56:16 +1030 | [diff] [blame] | 27 | mboxd_flash.c |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 28 | |
| 29 | TEST_MOCK_SRCS = %reldir%/tmpf.c %reldir%/mbox.c %reldir%/system.c |
| 30 | |
| 31 | test_get_mbox_info_v2_SOURCES = %reldir%/get_mbox_info_v2.c \ |
| 32 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 33 | |
| 34 | test_reset_state_SOURCES = %reldir%/reset_state.c \ |
| 35 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 36 | |
| 37 | test_get_flash_info_v2_SOURCES = %reldir%/get_flash_info_v2.c \ |
| 38 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 39 | |
| 40 | test_create_read_window_v2_SOURCES = %reldir%/create_read_window_v2.c \ |
| 41 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 42 | |
| 43 | test_create_write_window_v2_SOURCES = %reldir%/create_write_window_v2.c \ |
| 44 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 45 | |
| 46 | test_close_window_v2_SOURCES = %reldir%/close_window_v2.c \ |
| 47 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 48 | |
| 49 | test_mark_write_dirty_v2_SOURCES = %reldir%/mark_write_dirty_v2.c \ |
| 50 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 51 | |
| 52 | test_write_flush_v2_SOURCES = %reldir%/write_flush_v2.c \ |
| 53 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 54 | |
| 55 | test_mark_write_erased_v2_SOURCES = %reldir%/mark_write_erased_v2.c \ |
| 56 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 57 | |
| 58 | test_bmc_event_ack_v2_SOURCES = %reldir%/bmc_event_ack_v2.c \ |
| 59 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 60 | |
| 61 | test_create_oversize_window_SOURCES = %reldir%/create_oversize_window.c \ |
| 62 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 63 | |
| 64 | test_create_zero_size_window_SOURCES = %reldir%/create_zero_size_window.c \ |
| 65 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 66 | |
| 67 | test_implicit_flush_SOURCES = %reldir%/implicit_flush.c \ |
| 68 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 69 | |
| 70 | test_request_high_version_SOURCES = %reldir%/request_high_version.c \ |
| 71 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 72 | |
| 73 | test_request_low_version_SOURCES = %reldir%/request_low_version.c \ |
| 74 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 75 | |
| 76 | test_mark_read_dirty_SOURCES = %reldir%/mark_read_dirty.c \ |
| 77 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 78 | |
| 79 | test_read_window_write_flush_SOURCES = %reldir%/read_window_write_flush.c \ |
| 80 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 81 | |
| 82 | test_read_window_mark_write_erased_SOURCES = %reldir%/read_window_mark_write_erased.c \ |
| 83 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 84 | |
| 85 | test_write_window_dirty_erase_SOURCES = %reldir%/write_window_dirty_erase.c \ |
| 86 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 87 | |
| 88 | test_invalid_command_SOURCES = %reldir%/invalid_command.c \ |
| 89 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 90 | |
| 91 | test_read_window_cycle_SOURCES = %reldir%/read_window_cycle.c \ |
| 92 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 93 | |
| 94 | test_sequence_numbers_SOURCES = %reldir%/sequence_numbers.c \ |
| 95 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 96 | |
| 97 | test_get_mbox_info_v2_timeout_SOURCES = %reldir%/get_mbox_info_v2_timeout.c \ |
| 98 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 99 | |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 100 | check_PROGRAMS += \ |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 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 |