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