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