Matt Spinler | 15ee6ae | 2019-07-08 16:50:06 -0500 | [diff] [blame] | 1 | TESTS += $(check_PROGRAMS) |
| 2 | |
| 3 | check_PROGRAMS += \ |
Matt Spinler | 113ad28 | 2019-07-09 14:44:13 -0500 | [diff] [blame] | 4 | additional_data_test \ |
Matt Spinler | 6852d72 | 2019-09-30 15:35:53 -0500 | [diff] [blame] | 5 | ascii_string_test \ |
Matt Spinler | df797f2 | 2019-07-09 15:39:51 -0500 | [diff] [blame] | 6 | bcd_time_test \ |
Matt Spinler | 18c42b0 | 2020-06-02 15:59:50 -0500 | [diff] [blame] | 7 | device_callouts_test \ |
Matt Spinler | f682b40 | 2019-12-18 13:48:08 -0600 | [diff] [blame] | 8 | event_logger_test \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 9 | extended_user_header_test \ |
Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 10 | failing_mtms_test \ |
Matt Spinler | a906c94 | 2019-10-08 13:42:05 -0500 | [diff] [blame] | 11 | fru_identity_test \ |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 12 | generic_section_test \ |
Matt Spinler | f60ac27 | 2019-12-11 13:47:50 -0600 | [diff] [blame] | 13 | host_notifier_test \ |
Harisuddin Mohamed Isa | e2d1bf3 | 2020-02-06 17:32:38 +0800 | [diff] [blame] | 14 | json_utils_test \ |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 15 | log_id_test \ |
Matt Spinler | 90b4a0a | 2019-10-09 10:08:43 -0500 | [diff] [blame] | 16 | mru_test \ |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 17 | mtms_test \ |
Matt Spinler | 5b3a11d | 2019-10-08 14:13:31 -0500 | [diff] [blame] | 18 | pce_identity_test \ |
Matt Spinler | f1e85e2 | 2019-11-01 11:31:31 -0500 | [diff] [blame] | 19 | pel_manager_test \ |
| 20 | pel_rules_test \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 21 | pel_test \ |
Matt Spinler | 835a869 | 2019-08-27 13:56:05 -0500 | [diff] [blame] | 22 | pel_values_test \ |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 23 | private_header_test \ |
Matt Spinler | 07eefc5 | 2019-09-26 11:18:26 -0500 | [diff] [blame] | 24 | real_pel_test \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 25 | registry_test \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 26 | repository_test \ |
Matt Spinler | 1b5c72b | 2019-07-10 10:32:06 -0500 | [diff] [blame] | 27 | section_header_test \ |
Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 28 | severity_test \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 29 | src_test \ |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame] | 30 | src_callout_test \ |
Matt Spinler | 32f13c9 | 2019-10-09 12:48:25 -0500 | [diff] [blame] | 31 | src_callouts_test \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 32 | stream_test \ |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 33 | user_data_test \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 34 | user_header_test |
Matt Spinler | 15ee6ae | 2019-07-08 16:50:06 -0500 | [diff] [blame] | 35 | |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 36 | pel_objects = \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 37 | $(top_builddir)/extensions/openpower-pels/ascii_string.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 38 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 39 | $(top_builddir)/extensions/openpower-pels/callouts.o \ |
Matt Spinler | 18c42b0 | 2020-06-02 15:59:50 -0500 | [diff] [blame] | 40 | $(top_builddir)/extensions/openpower-pels/device_callouts.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 41 | $(top_builddir)/extensions/openpower-pels/extended_user_header.o \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 42 | $(top_builddir)/extensions/openpower-pels/failing_mtms.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 43 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 44 | $(top_builddir)/extensions/openpower-pels/generic.o \ |
Harisuddin Mohamed Isa | 600d15a | 2019-12-20 12:42:26 +0800 | [diff] [blame] | 45 | $(top_builddir)/extensions/openpower-pels/json_utils.o \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 46 | $(top_builddir)/extensions/openpower-pels/log_id.o \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 47 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 48 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 49 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 50 | $(top_builddir)/extensions/openpower-pels/pel.o \ |
Matt Spinler | f1e85e2 | 2019-11-01 11:31:31 -0500 | [diff] [blame] | 51 | $(top_builddir)/extensions/openpower-pels/pel_rules.o \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 52 | $(top_builddir)/extensions/openpower-pels/pel_values.o \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 53 | $(top_builddir)/extensions/openpower-pels/private_header.o \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 54 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 55 | $(top_builddir)/extensions/openpower-pels/section_factory.o \ |
Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 56 | $(top_builddir)/extensions/openpower-pels/severity.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 57 | $(top_builddir)/extensions/openpower-pels/src.o \ |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 58 | $(top_builddir)/extensions/openpower-pels/user_data.o \ |
Matt Spinler | 22421b9 | 2020-07-17 09:41:08 -0500 | [diff] [blame] | 59 | $(top_builddir)/extensions/openpower-pels/user_header.o \ |
| 60 | $(FMT_LIBS) |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 61 | |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 62 | pel_test_utils_ldadd = \ |
Matt Spinler | 454f656 | 2020-07-07 11:22:47 -0500 | [diff] [blame] | 63 | $(top_builddir)/extensions/openpower-pels/bcd_time.o \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 64 | $(top_builddir)/test/openpower-pels/pel_utils.o \ |
| 65 | $(top_builddir)/test/openpower-pels/paths.o |
| 66 | |
Matt Spinler | 15ee6ae | 2019-07-08 16:50:06 -0500 | [diff] [blame] | 67 | additional_data_test_SOURCES = %reldir%/additional_data_test.cpp |
| 68 | additional_data_test_CPPFLAGS = $(test_cppflags) |
| 69 | additional_data_test_CXXFLAGS = $(test_cxxflags) |
| 70 | additional_data_test_LDADD = $(test_ldadd) |
| 71 | additional_data_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 113ad28 | 2019-07-09 14:44:13 -0500 | [diff] [blame] | 72 | |
| 73 | stream_test_SOURCES = %reldir%/stream_test.cpp |
| 74 | stream_test_CPPFLAGS = $(test_cppflags) |
| 75 | stream_test_CXXFLAGS = $(test_cxxflags) |
| 76 | stream_test_LDADD = $(test_ldadd) |
Matt Spinler | df797f2 | 2019-07-09 15:39:51 -0500 | [diff] [blame] | 77 | stream_test_LDFLAGS = $(test_ldflags) |
| 78 | |
| 79 | bcd_time_test_SOURCES = \ |
| 80 | %reldir%/bcd_time_test.cpp |
| 81 | bcd_time_test_CPPFLAGS = $(test_cppflags) |
| 82 | bcd_time_test_CXXFLAGS = $(test_cxxflags) |
| 83 | bcd_time_test_LDADD = \ |
| 84 | $(test_ldadd) \ |
| 85 | $(top_builddir)/extensions/openpower-pels/bcd_time.o |
Matt Spinler | 1b5c72b | 2019-07-10 10:32:06 -0500 | [diff] [blame] | 86 | bcd_time_test_LDFLAGS = $(test_ldflags) |
| 87 | |
| 88 | section_header_test_SOURCES = \ |
| 89 | %reldir%/section_header_test.cpp |
| 90 | section_header_test_CPPFLAGS = $(test_cppflags) |
| 91 | section_header_test_CXXFLAGS = $(test_cxxflags) |
| 92 | section_header_test_LDADD = $(test_ldadd) |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 93 | section_header_test_LDFLAGS = $(test_ldflags) |
| 94 | |
| 95 | private_header_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 96 | %reldir%/private_header_test.cpp |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 97 | private_header_test_CPPFLAGS = $(test_cppflags) |
| 98 | private_header_test_CXXFLAGS = $(test_cxxflags) |
| 99 | private_header_test_LDADD = \ |
| 100 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 101 | $(pel_test_utils_ldadd) \ |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 102 | $(pel_objects) |
| 103 | private_header_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 104 | |
| 105 | user_header_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 106 | %reldir%/user_header_test.cpp |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 107 | user_header_test_CPPFLAGS = $(test_cppflags) |
| 108 | user_header_test_CXXFLAGS = $(test_cxxflags) |
| 109 | user_header_test_LDADD = \ |
| 110 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 111 | $(pel_test_utils_ldadd) \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 112 | $(pel_objects) |
| 113 | user_header_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 114 | |
| 115 | log_id_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 116 | %reldir%/log_id_test.cpp |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 117 | log_id_test_CPPFLAGS = $(test_cppflags) |
| 118 | log_id_test_CXXFLAGS = $(test_cxxflags) |
| 119 | log_id_test_LDADD = \ |
| 120 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 121 | $(pel_test_utils_ldadd) \ |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 122 | $(top_builddir)/extensions/openpower-pels/log_id.o |
| 123 | log_id_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 124 | |
| 125 | pel_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 126 | %reldir%/pel_test.cpp |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 127 | pel_test_CPPFLAGS = $(test_cppflags) |
| 128 | pel_test_CXXFLAGS = $(test_cxxflags) |
| 129 | pel_test_LDADD = \ |
| 130 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 131 | $(pel_test_utils_ldadd) \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 132 | $(pel_objects) |
| 133 | pel_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 134 | |
Matt Spinler | 07eefc5 | 2019-09-26 11:18:26 -0500 | [diff] [blame] | 135 | real_pel_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 136 | %reldir%/real_pel_test.cpp |
Matt Spinler | 07eefc5 | 2019-09-26 11:18:26 -0500 | [diff] [blame] | 137 | real_pel_test_CPPFLAGS = $(test_cppflags) |
| 138 | real_pel_test_CXXFLAGS = $(test_cxxflags) |
| 139 | real_pel_test_LDADD = \ |
| 140 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 141 | $(pel_test_utils_ldadd) \ |
Matt Spinler | 07eefc5 | 2019-09-26 11:18:26 -0500 | [diff] [blame] | 142 | $(pel_objects) |
| 143 | real_pel_test_LDFLAGS = $(test_ldflags) |
| 144 | |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 145 | repository_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 146 | %reldir%/repository_test.cpp |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 147 | repository_test_CPPFLAGS = $(test_cppflags) |
| 148 | repository_test_CXXFLAGS = $(test_cxxflags) |
| 149 | repository_test_LDADD = \ |
| 150 | $(test_ldadd) \ |
| 151 | $(pel_objects) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 152 | $(pel_test_utils_ldadd) \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 153 | $(top_builddir)/extensions/openpower-pels/repository.o |
| 154 | repository_test_LDFLAGS = $(test_ldflags) |
| 155 | |
| 156 | pel_manager_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 157 | %reldir%/pel_manager_test.cpp |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 158 | pel_manager_test_CPPFLAGS = $(test_cppflags) |
Matt Spinler | a34ab72 | 2019-12-16 10:39:32 -0600 | [diff] [blame] | 159 | pel_manager_test_CXXFLAGS = \ |
| 160 | $(test_cxxflags) \ |
| 161 | $(SDEVENTPLUS_CFLAGS) |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 162 | pel_manager_test_LDADD = \ |
| 163 | $(test_ldadd) \ |
| 164 | $(pel_objects) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 165 | $(pel_test_utils_ldadd) \ |
Matt Spinler | c8705e2 | 2019-09-11 12:36:07 -0500 | [diff] [blame] | 166 | $(top_builddir)/extensions/openpower-pels/data_interface.o \ |
Matt Spinler | f60ac27 | 2019-12-11 13:47:50 -0600 | [diff] [blame] | 167 | $(top_builddir)/extensions/openpower-pels/host_notifier.o \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 168 | $(top_builddir)/extensions/openpower-pels/manager.o \ |
| 169 | $(top_builddir)/extensions/openpower-pels/repository.o |
Matt Spinler | a34ab72 | 2019-12-16 10:39:32 -0600 | [diff] [blame] | 170 | pel_manager_test_LDFLAGS = \ |
| 171 | $(test_ldflags) \ |
| 172 | $(SDEVENTPLUS_LIBS) |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 173 | |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 174 | registry_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 175 | %reldir%/registry_test.cpp |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 176 | registry_test_CPPFLAGS = $(test_cppflags) |
| 177 | registry_test_CXXFLAGS = $(test_cxxflags) |
| 178 | registry_test_LDADD = \ |
| 179 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 180 | $(pel_test_utils_ldadd) \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 181 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
| 182 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
| 183 | registry_test_LDFLAGS = $(test_ldflags) |
| 184 | |
Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 185 | severity_test_SOURCES = %reldir%/severity_test.cpp |
| 186 | severity_test_CPPFLAGS = $(test_cppflags) |
| 187 | severity_test_CXXFLAGS = $(test_cxxflags) |
| 188 | severity_test_LDADD = \ |
| 189 | $(test_ldflags) \ |
| 190 | $(top_builddir)/extensions/openpower-pels/severity.o |
| 191 | severity_test_LDFLAGS = $(test_ldflags) |
| 192 | |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 193 | mtms_test_SOURCES = %reldir%/mtms_test.cpp |
| 194 | mtms_test_CPPFLAGS = $(test_cppflags) |
| 195 | mtms_test_CXXFLAGS = $(test_cxxflags) |
| 196 | mtms_test_LDADD = \ |
| 197 | $(test_ldadd) \ |
| 198 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 199 | mtms_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 200 | |
| 201 | failing_mtms_test_SOURCES = %reldir%/failing_mtms_test.cpp |
| 202 | failing_mtms_test_CPPFLAGS = $(test_cppflags) |
| 203 | failing_mtms_test_CXXFLAGS = $(test_cxxflags) |
| 204 | failing_mtms_test_LDADD = \ |
| 205 | $(test_ldadd) \ |
| 206 | $(top_builddir)/extensions/openpower-pels/failing_mtms.o \ |
Harisuddin Mohamed Isa | e2d1bf3 | 2020-02-06 17:32:38 +0800 | [diff] [blame] | 207 | $(top_builddir)/extensions/openpower-pels/json_utils.o \ |
Harisuddin Mohamed Isa | bebeb94 | 2020-03-12 17:12:24 +0800 | [diff] [blame] | 208 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
| 209 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 210 | failing_mtms_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 835a869 | 2019-08-27 13:56:05 -0500 | [diff] [blame] | 211 | |
| 212 | pel_values_test_SOURCES = %reldir%/pel_values_test.cpp |
| 213 | pel_values_test_CPPFLAGS = $(test_cppflags) |
| 214 | pel_values_test_CXXFLAGS = $(test_cxxflags) |
| 215 | pel_values_test_LDADD = \ |
| 216 | $(test_ldflags) \ |
| 217 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
| 218 | pel_values_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 219 | |
| 220 | generic_section_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 221 | %reldir%/generic_section_test.cpp |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 222 | generic_section_test_CPPFLAGS = $(test_cppflags) |
| 223 | generic_section_test_CXXFLAGS = $(test_cxxflags) |
| 224 | generic_section_test_LDADD = \ |
| 225 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 226 | $(pel_test_utils_ldadd) \ |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 227 | $(top_builddir)/extensions/openpower-pels/generic.o |
| 228 | generic_section_test_LDFLAGS = $(test_ldflags) |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 229 | |
| 230 | user_data_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 231 | %reldir%/user_data_test.cpp |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 232 | user_data_test_CPPFLAGS = $(test_cppflags) |
| 233 | user_data_test_CXXFLAGS = $(test_cxxflags) |
| 234 | user_data_test_LDADD = \ |
| 235 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 236 | $(pel_test_utils_ldadd) \ |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 237 | $(top_builddir)/extensions/openpower-pels/user_data.o |
| 238 | user_data_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 6852d72 | 2019-09-30 15:35:53 -0500 | [diff] [blame] | 239 | |
| 240 | ascii_string_test_SOURCES = %reldir%/ascii_string_test.cpp |
| 241 | ascii_string_test_CPPFLAGS = $(test_cppflags) |
| 242 | ascii_string_test_CXXFLAGS = $(test_cxxflags) |
| 243 | ascii_string_test_LDADD = \ |
| 244 | $(test_ldadd) \ |
| 245 | $(top_builddir)/extensions/openpower-pels/ascii_string.o |
| 246 | ascii_string_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | a906c94 | 2019-10-08 13:42:05 -0500 | [diff] [blame] | 247 | |
| 248 | fru_identity_test_SOURCES = %reldir%/fru_identity_test.cpp |
| 249 | fru_identity_test_CPPFLAGS = $(test_cppflags) |
| 250 | fru_identity_test_CXXFLAGS = $(test_cxxflags) |
| 251 | fru_identity_test_LDADD = \ |
| 252 | $(test_ldadd) \ |
Matt Spinler | ba0ee00 | 2020-03-13 11:24:14 -0500 | [diff] [blame] | 253 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
| 254 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
Matt Spinler | a906c94 | 2019-10-08 13:42:05 -0500 | [diff] [blame] | 255 | fru_identity_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 5b3a11d | 2019-10-08 14:13:31 -0500 | [diff] [blame] | 256 | |
| 257 | pce_identity_test_SOURCES = %reldir%/pce_identity_test.cpp |
| 258 | pce_identity_test_CPPFLAGS = $(test_cppflags) |
| 259 | pce_identity_test_CXXFLAGS = $(test_cxxflags) |
| 260 | pce_identity_test_LDADD = \ |
| 261 | $(test_ldadd) \ |
| 262 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
| 263 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 264 | pce_identity_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 90b4a0a | 2019-10-09 10:08:43 -0500 | [diff] [blame] | 265 | |
| 266 | mru_test_SOURCES = %reldir%/mru_test.cpp |
| 267 | mru_test_CPPFLAGS = $(test_cppflags) |
| 268 | mru_test_CXXFLAGS = $(test_cxxflags) |
| 269 | mru_test_LDADD = \ |
| 270 | $(test_ldadd) \ |
| 271 | $(top_builddir)/extensions/openpower-pels/mru.o |
| 272 | mru_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame] | 273 | |
| 274 | src_callout_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 275 | %reldir%/src_callout_test.cpp |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame] | 276 | src_callout_test_CPPFLAGS = $(test_cppflags) |
| 277 | src_callout_test_CXXFLAGS = $(test_cxxflags) |
| 278 | src_callout_test_LDADD = \ |
| 279 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 280 | $(pel_test_utils_ldadd) \ |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame] | 281 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 282 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
| 283 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 284 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
Matt Spinler | ba0ee00 | 2020-03-13 11:24:14 -0500 | [diff] [blame] | 285 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
| 286 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame] | 287 | src_callout_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 32f13c9 | 2019-10-09 12:48:25 -0500 | [diff] [blame] | 288 | |
| 289 | src_callouts_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 290 | %reldir%/src_callouts_test.cpp |
Matt Spinler | 32f13c9 | 2019-10-09 12:48:25 -0500 | [diff] [blame] | 291 | src_callouts_test_CPPFLAGS = $(test_cppflags) |
| 292 | src_callouts_test_CXXFLAGS = $(test_cxxflags) |
| 293 | src_callouts_test_LDADD = \ |
| 294 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 295 | $(pel_test_utils_ldadd) \ |
Matt Spinler | 32f13c9 | 2019-10-09 12:48:25 -0500 | [diff] [blame] | 296 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 297 | $(top_builddir)/extensions/openpower-pels/callouts.o \ |
| 298 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
| 299 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 300 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
Matt Spinler | ba0ee00 | 2020-03-13 11:24:14 -0500 | [diff] [blame] | 301 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
| 302 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
Matt Spinler | 32f13c9 | 2019-10-09 12:48:25 -0500 | [diff] [blame] | 303 | src_callouts_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 304 | |
| 305 | src_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 306 | %reldir%/src_test.cpp |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 307 | src_test_CPPFLAGS = $(test_cppflags) |
| 308 | src_test_CXXFLAGS = $(test_cxxflags) |
| 309 | src_test_LDADD = \ |
| 310 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 311 | $(pel_test_utils_ldadd) \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 312 | $(top_builddir)/extensions/openpower-pels/ascii_string.o \ |
| 313 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 314 | $(top_builddir)/extensions/openpower-pels/callouts.o \ |
Matt Spinler | 18c42b0 | 2020-06-02 15:59:50 -0500 | [diff] [blame] | 315 | $(top_builddir)/extensions/openpower-pels/device_callouts.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 316 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 317 | $(top_builddir)/extensions/openpower-pels/json_utils.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 318 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 319 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
| 320 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 321 | $(top_builddir)/extensions/openpower-pels/pel_values.o \ |
| 322 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 323 | $(top_builddir)/extensions/openpower-pels/src.o |
| 324 | src_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f1e85e2 | 2019-11-01 11:31:31 -0500 | [diff] [blame] | 325 | |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 326 | extended_user_header_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 327 | %reldir%/extended_user_header_test.cpp |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 328 | extended_user_header_test_CPPFLAGS = $(test_cppflags) |
| 329 | extended_user_header_test_CXXFLAGS = $(test_cxxflags) |
| 330 | extended_user_header_test_LDADD = \ |
| 331 | $(test_ldadd) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 332 | $(pel_test_utils_ldadd) \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 333 | $(top_builddir)/extensions/openpower-pels/ascii_string.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 334 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 335 | $(top_builddir)/extensions/openpower-pels/callouts.o \ |
Matt Spinler | 18c42b0 | 2020-06-02 15:59:50 -0500 | [diff] [blame] | 336 | $(top_builddir)/extensions/openpower-pels/device_callouts.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 337 | $(top_builddir)/extensions/openpower-pels/data_interface.o \ |
| 338 | $(top_builddir)/extensions/openpower-pels/extended_user_header.o \ |
| 339 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 340 | $(top_builddir)/extensions/openpower-pels/json_utils.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 341 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 342 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 343 | $(top_builddir)/extensions/openpower-pels/pel_values.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 344 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 345 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 346 | $(top_builddir)/extensions/openpower-pels/src.o |
| 347 | extended_user_header_test_LDFLAGS = $(test_ldflags) |
| 348 | |
Matt Spinler | f1e85e2 | 2019-11-01 11:31:31 -0500 | [diff] [blame] | 349 | pel_rules_test_SOURCES = %reldir%/pel_rules_test.cpp |
| 350 | pel_rules_test_CPPFLAGS = $(test_cppflags) |
| 351 | pel_rules_test_CXXFLAGS = $(test_cxxflags) |
| 352 | pel_rules_test_LDADD = \ |
| 353 | $(test_ldflags) \ |
| 354 | $(top_builddir)/extensions/openpower-pels/pel_rules.o |
| 355 | pel_rules_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f60ac27 | 2019-12-11 13:47:50 -0600 | [diff] [blame] | 356 | |
| 357 | host_notifier_test_SOURCES = \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 358 | %reldir%/host_notifier_test.cpp |
Matt Spinler | f60ac27 | 2019-12-11 13:47:50 -0600 | [diff] [blame] | 359 | host_notifier_test_CPPFLAGS = $(test_cppflags) |
| 360 | host_notifier_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS) |
| 361 | host_notifier_test_LDADD = \ |
| 362 | $(test_ldflags) \ |
| 363 | $(pel_objects) \ |
Matt Spinler | e4e11dc | 2020-06-02 09:54:10 -0500 | [diff] [blame] | 364 | $(pel_test_utils_ldadd) \ |
Matt Spinler | f60ac27 | 2019-12-11 13:47:50 -0600 | [diff] [blame] | 365 | $(top_builddir)/extensions/openpower-pels/host_notifier.o \ |
| 366 | $(top_builddir)/extensions/openpower-pels/repository.o |
| 367 | host_notifier_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS) |
Harisuddin Mohamed Isa | e2d1bf3 | 2020-02-06 17:32:38 +0800 | [diff] [blame] | 368 | |
| 369 | json_utils_test_SOURCES = %reldir%/json_utils_test.cpp |
| 370 | json_utils_test_CPPFLAGS = $(test_cppflags) |
| 371 | json_utils_test_CXXFLAGS = $(test_cxxflags) |
| 372 | json_utils_test_LDADD = \ |
| 373 | $(test_ldadd) \ |
| 374 | $(top_builddir)/extensions/openpower-pels/json_utils.o |
| 375 | json_utils_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f682b40 | 2019-12-18 13:48:08 -0600 | [diff] [blame] | 376 | |
| 377 | event_logger_test_SOURCES = \ |
| 378 | %reldir%/event_logger_test.cpp |
| 379 | event_logger_test_CPPFLAGS = $(test_cppflags) |
| 380 | event_logger_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS) |
| 381 | event_logger_test_LDADD = \ |
| 382 | $(test_ldadd) |
| 383 | event_logger_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS) |
Matt Spinler | 18c42b0 | 2020-06-02 15:59:50 -0500 | [diff] [blame] | 384 | |
| 385 | device_callouts_test_SOURCES = \ |
| 386 | %reldir%/device_callouts_test.cpp |
| 387 | device_callouts_test_CPPFLAGS = $(test_cppflags) |
| 388 | device_callouts_test_CXXFLAGS = $(test_cxxflags) |
| 389 | device_callouts_test_LDADD = \ |
| 390 | $(test_ldadd) \ |
| 391 | $(pel_test_utils_ldadd) \ |
| 392 | $(top_builddir)/extensions/openpower-pels/device_callouts.o |
| 393 | device_callouts_test_LDFLAGS = $(test_ldflags) |