Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 1 | test_sanity_SOURCES = %reldir%/sanity.c |
| 2 | |
Andrew Jeffery | e0cdd3e | 2018-08-08 16:51:44 +0930 | [diff] [blame] | 3 | test_flash_copy_SOURCES = \ |
| 4 | %reldir%/flash_copy.c \ |
Evan Lojewski | f1e547c | 2019-03-14 14:34:33 +1030 | [diff] [blame] | 5 | mtd/backend.c \ |
| 6 | lpc.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 7 | common.c mtd.c \ |
Andrew Jeffery | 2dfc2a2 | 2019-03-14 16:42:15 +1030 | [diff] [blame] | 8 | %reldir%/tmpf.c \ |
| 9 | %reldir%/system.c |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 10 | |
Andrew Jeffery | 4f5d29c | 2018-08-08 16:58:04 +0930 | [diff] [blame] | 11 | test_flash_erase_SOURCES = \ |
| 12 | %reldir%/flash_erase.c \ |
Evan Lojewski | f1e547c | 2019-03-14 14:34:33 +1030 | [diff] [blame] | 13 | mtd/backend.c \ |
| 14 | lpc.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 15 | common.c \ |
| 16 | %reldir%/tmpf.c |
| 17 | |
Andrew Jeffery | 0293f2f | 2018-08-08 16:59:45 +0930 | [diff] [blame] | 18 | test_flash_write_SOURCES = \ |
| 19 | %reldir%/flash_write.c \ |
Evan Lojewski | f1e547c | 2019-03-14 14:34:33 +1030 | [diff] [blame] | 20 | mtd/backend.c \ |
| 21 | lpc.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 22 | common.c \ |
| 23 | %reldir%/tmpf.c |
| 24 | |
| 25 | TEST_MBOX_SRCS = \ |
Andrew Jeffery | 457a6e5 | 2018-08-08 11:21:08 +0930 | [diff] [blame] | 26 | transport_mbox.c \ |
Andrew Jeffery | f593b1b | 2018-08-08 11:01:04 +0930 | [diff] [blame] | 27 | windows.c \ |
Andrew Jeffery | cd18611 | 2018-08-08 10:47:55 +0930 | [diff] [blame] | 28 | lpc.c \ |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 29 | common.c \ |
Andrew Jeffery | cb93504 | 2019-03-15 09:54:33 +1030 | [diff] [blame] | 30 | protocol.c |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 31 | |
Evan Lojewski | f1e547c | 2019-03-14 14:34:33 +1030 | [diff] [blame] | 32 | TEST_MOCK_CORE = \ |
| 33 | %reldir%/tmpf.c \ |
| 34 | mtd/backend.c \ |
| 35 | %reldir%/mbox.c \ |
| 36 | %reldir%/system.c |
| 37 | |
Andrew Jeffery | 5320f6e | 2019-03-15 12:40:41 +1030 | [diff] [blame] | 38 | TEST_MOCK_SRCS = $(TEST_MOCK_CORE) |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 39 | |
| 40 | test_get_mbox_info_v2_SOURCES = %reldir%/get_mbox_info_v2.c \ |
| 41 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 42 | |
| 43 | test_reset_state_SOURCES = %reldir%/reset_state.c \ |
| 44 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 45 | |
| 46 | test_get_flash_info_v2_SOURCES = %reldir%/get_flash_info_v2.c \ |
| 47 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 48 | |
| 49 | test_create_read_window_v2_SOURCES = %reldir%/create_read_window_v2.c \ |
| 50 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 51 | |
| 52 | test_create_write_window_v2_SOURCES = %reldir%/create_write_window_v2.c \ |
| 53 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 54 | |
| 55 | test_close_window_v2_SOURCES = %reldir%/close_window_v2.c \ |
| 56 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 57 | |
| 58 | test_mark_write_dirty_v2_SOURCES = %reldir%/mark_write_dirty_v2.c \ |
| 59 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 60 | |
| 61 | test_write_flush_v2_SOURCES = %reldir%/write_flush_v2.c \ |
| 62 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 63 | |
| 64 | test_mark_write_erased_v2_SOURCES = %reldir%/mark_write_erased_v2.c \ |
| 65 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 66 | |
| 67 | test_bmc_event_ack_v2_SOURCES = %reldir%/bmc_event_ack_v2.c \ |
| 68 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 69 | |
| 70 | test_create_oversize_window_SOURCES = %reldir%/create_oversize_window.c \ |
| 71 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 72 | |
| 73 | test_create_zero_size_window_SOURCES = %reldir%/create_zero_size_window.c \ |
| 74 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 75 | |
| 76 | test_implicit_flush_SOURCES = %reldir%/implicit_flush.c \ |
| 77 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 78 | |
| 79 | test_request_high_version_SOURCES = %reldir%/request_high_version.c \ |
| 80 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 81 | |
| 82 | test_request_low_version_SOURCES = %reldir%/request_low_version.c \ |
| 83 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 84 | |
| 85 | test_mark_read_dirty_SOURCES = %reldir%/mark_read_dirty.c \ |
| 86 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 87 | |
| 88 | test_read_window_write_flush_SOURCES = %reldir%/read_window_write_flush.c \ |
| 89 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 90 | |
| 91 | test_read_window_mark_write_erased_SOURCES = %reldir%/read_window_mark_write_erased.c \ |
| 92 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 93 | |
| 94 | test_write_window_dirty_erase_SOURCES = %reldir%/write_window_dirty_erase.c \ |
| 95 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 96 | |
| 97 | test_invalid_command_SOURCES = %reldir%/invalid_command.c \ |
| 98 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 99 | |
| 100 | test_read_window_cycle_SOURCES = %reldir%/read_window_cycle.c \ |
| 101 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 102 | |
| 103 | test_sequence_numbers_SOURCES = %reldir%/sequence_numbers.c \ |
| 104 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 105 | |
| 106 | test_get_mbox_info_v2_timeout_SOURCES = %reldir%/get_mbox_info_v2_timeout.c \ |
| 107 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 108 | |
Andrew Jeffery | c84b8f8 | 2018-08-28 16:50:09 +0930 | [diff] [blame] | 109 | test_windows_equally_evictable_SOURCES = %reldir%/windows_equally_evictable.c \ |
| 110 | $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| 111 | |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 112 | check_PROGRAMS += \ |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 113 | %reldir%/sanity \ |
Andrew Jeffery | e0cdd3e | 2018-08-08 16:51:44 +0930 | [diff] [blame] | 114 | %reldir%/flash_copy \ |
Andrew Jeffery | 4f5d29c | 2018-08-08 16:58:04 +0930 | [diff] [blame] | 115 | %reldir%/flash_erase \ |
Andrew Jeffery | 0293f2f | 2018-08-08 16:59:45 +0930 | [diff] [blame] | 116 | %reldir%/flash_write \ |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 117 | %reldir%/get_mbox_info_v2 \ |
| 118 | %reldir%/reset_state \ |
| 119 | %reldir%/get_flash_info_v2 \ |
| 120 | %reldir%/create_read_window_v2 \ |
| 121 | %reldir%/create_write_window_v2 \ |
| 122 | %reldir%/close_window_v2 \ |
| 123 | %reldir%/mark_write_dirty_v2 \ |
| 124 | %reldir%/write_flush_v2 \ |
| 125 | %reldir%/mark_write_erased_v2 \ |
| 126 | %reldir%/bmc_event_ack_v2 \ |
| 127 | %reldir%/create_oversize_window \ |
| 128 | %reldir%/create_zero_size_window \ |
| 129 | %reldir%/implicit_flush \ |
| 130 | %reldir%/request_high_version \ |
| 131 | %reldir%/request_low_version \ |
| 132 | %reldir%/mark_read_dirty \ |
| 133 | %reldir%/read_window_write_flush \ |
| 134 | %reldir%/read_window_mark_write_erased \ |
| 135 | %reldir%/write_window_dirty_erase \ |
| 136 | %reldir%/invalid_command \ |
| 137 | %reldir%/read_window_cycle \ |
| 138 | %reldir%/sequence_numbers \ |
Andrew Jeffery | c84b8f8 | 2018-08-28 16:50:09 +0930 | [diff] [blame] | 139 | %reldir%/get_mbox_info_v2_timeout \ |
| 140 | %reldir%/windows_equally_evictable |