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 \ |
Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 193 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 194 | failing_mtms_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 835a869 | 2019-08-27 13:56:05 -0500 | [diff] [blame] | 195 | |
| 196 | pel_values_test_SOURCES = %reldir%/pel_values_test.cpp |
| 197 | pel_values_test_CPPFLAGS = $(test_cppflags) |
| 198 | pel_values_test_CXXFLAGS = $(test_cxxflags) |
| 199 | pel_values_test_LDADD = \ |
| 200 | $(test_ldflags) \ |
| 201 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
| 202 | pel_values_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 203 | |
| 204 | generic_section_test_SOURCES = \ |
| 205 | %reldir%/generic_section_test.cpp %reldir%/pel_utils.cpp |
| 206 | generic_section_test_CPPFLAGS = $(test_cppflags) |
| 207 | generic_section_test_CXXFLAGS = $(test_cxxflags) |
| 208 | generic_section_test_LDADD = \ |
| 209 | $(test_ldadd) \ |
| 210 | $(top_builddir)/extensions/openpower-pels/generic.o |
| 211 | generic_section_test_LDFLAGS = $(test_ldflags) |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 212 | |
| 213 | user_data_test_SOURCES = \ |
| 214 | %reldir%/user_data_test.cpp %reldir%/pel_utils.cpp |
| 215 | user_data_test_CPPFLAGS = $(test_cppflags) |
| 216 | user_data_test_CXXFLAGS = $(test_cxxflags) |
| 217 | user_data_test_LDADD = \ |
| 218 | $(test_ldadd) \ |
| 219 | $(top_builddir)/extensions/openpower-pels/user_data.o |
| 220 | user_data_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 6852d72 | 2019-09-30 15:35:53 -0500 | [diff] [blame] | 221 | |
| 222 | ascii_string_test_SOURCES = %reldir%/ascii_string_test.cpp |
| 223 | ascii_string_test_CPPFLAGS = $(test_cppflags) |
| 224 | ascii_string_test_CXXFLAGS = $(test_cxxflags) |
| 225 | ascii_string_test_LDADD = \ |
| 226 | $(test_ldadd) \ |
| 227 | $(top_builddir)/extensions/openpower-pels/ascii_string.o |
| 228 | ascii_string_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | a906c94 | 2019-10-08 13:42:05 -0500 | [diff] [blame] | 229 | |
| 230 | fru_identity_test_SOURCES = %reldir%/fru_identity_test.cpp |
| 231 | fru_identity_test_CPPFLAGS = $(test_cppflags) |
| 232 | fru_identity_test_CXXFLAGS = $(test_cxxflags) |
| 233 | fru_identity_test_LDADD = \ |
| 234 | $(test_ldadd) \ |
| 235 | $(top_builddir)/extensions/openpower-pels/fru_identity.o |
| 236 | fru_identity_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 5b3a11d | 2019-10-08 14:13:31 -0500 | [diff] [blame] | 237 | |
| 238 | pce_identity_test_SOURCES = %reldir%/pce_identity_test.cpp |
| 239 | pce_identity_test_CPPFLAGS = $(test_cppflags) |
| 240 | pce_identity_test_CXXFLAGS = $(test_cxxflags) |
| 241 | pce_identity_test_LDADD = \ |
| 242 | $(test_ldadd) \ |
| 243 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
| 244 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 245 | pce_identity_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 90b4a0a | 2019-10-09 10:08:43 -0500 | [diff] [blame] | 246 | |
| 247 | mru_test_SOURCES = %reldir%/mru_test.cpp |
| 248 | mru_test_CPPFLAGS = $(test_cppflags) |
| 249 | mru_test_CXXFLAGS = $(test_cxxflags) |
| 250 | mru_test_LDADD = \ |
| 251 | $(test_ldadd) \ |
| 252 | $(top_builddir)/extensions/openpower-pels/mru.o |
| 253 | mru_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame] | 254 | |
| 255 | src_callout_test_SOURCES = \ |
| 256 | %reldir%/src_callout_test.cpp \ |
| 257 | %reldir%/pel_utils.cpp |
| 258 | src_callout_test_CPPFLAGS = $(test_cppflags) |
| 259 | src_callout_test_CXXFLAGS = $(test_cxxflags) |
| 260 | src_callout_test_LDADD = \ |
| 261 | $(test_ldadd) \ |
| 262 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 263 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
| 264 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 265 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
| 266 | $(top_builddir)/extensions/openpower-pels/pce_identity.o |
| 267 | src_callout_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 32f13c9 | 2019-10-09 12:48:25 -0500 | [diff] [blame] | 268 | |
| 269 | src_callouts_test_SOURCES = \ |
| 270 | %reldir%/src_callouts_test.cpp \ |
| 271 | %reldir%/pel_utils.cpp |
| 272 | src_callouts_test_CPPFLAGS = $(test_cppflags) |
| 273 | src_callouts_test_CXXFLAGS = $(test_cxxflags) |
| 274 | src_callouts_test_LDADD = \ |
| 275 | $(test_ldadd) \ |
| 276 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 277 | $(top_builddir)/extensions/openpower-pels/callouts.o \ |
| 278 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
| 279 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 280 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
| 281 | $(top_builddir)/extensions/openpower-pels/pce_identity.o |
| 282 | src_callouts_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 283 | |
| 284 | src_test_SOURCES = \ |
| 285 | %reldir%/src_test.cpp \ |
| 286 | %reldir%/pel_utils.cpp |
| 287 | src_test_CPPFLAGS = $(test_cppflags) |
| 288 | src_test_CXXFLAGS = $(test_cxxflags) |
| 289 | src_test_LDADD = \ |
| 290 | $(test_ldadd) \ |
| 291 | $(top_builddir)/extensions/openpower-pels/ascii_string.o \ |
| 292 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 293 | $(top_builddir)/extensions/openpower-pels/callouts.o \ |
| 294 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 295 | $(top_builddir)/extensions/openpower-pels/json_utils.o \ |
| 296 | $(top_builddir)/extensions/openpower-pels/paths.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 297 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 298 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
| 299 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 300 | $(top_builddir)/extensions/openpower-pels/pel_values.o \ |
| 301 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
Matt Spinler | f9bae18 | 2019-10-09 13:37:38 -0500 | [diff] [blame] | 302 | $(top_builddir)/extensions/openpower-pels/src.o |
| 303 | src_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f1e85e2 | 2019-11-01 11:31:31 -0500 | [diff] [blame] | 304 | |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 305 | extended_user_header_test_SOURCES = \ |
| 306 | %reldir%/extended_user_header_test.cpp \ |
| 307 | %reldir%/pel_utils.cpp |
| 308 | extended_user_header_test_CPPFLAGS = $(test_cppflags) |
| 309 | extended_user_header_test_CXXFLAGS = $(test_cxxflags) |
| 310 | extended_user_header_test_LDADD = \ |
| 311 | $(test_ldadd) \ |
| 312 | $(top_builddir)/extensions/openpower-pels/ascii_string.o \ |
| 313 | $(top_builddir)/extensions/openpower-pels/bcd_time.o \ |
| 314 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 315 | $(top_builddir)/extensions/openpower-pels/callouts.o \ |
| 316 | $(top_builddir)/extensions/openpower-pels/data_interface.o \ |
| 317 | $(top_builddir)/extensions/openpower-pels/extended_user_header.o \ |
| 318 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 319 | $(top_builddir)/extensions/openpower-pels/json_utils.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 320 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 321 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 322 | $(top_builddir)/extensions/openpower-pels/paths.o \ |
| 323 | $(top_builddir)/extensions/openpower-pels/pel_values.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 324 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
Harisuddin Mohamed Isa | 0f717e1 | 2020-01-15 20:05:33 +0800 | [diff] [blame] | 325 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
Matt Spinler | c63e2e8 | 2019-12-02 15:50:12 -0600 | [diff] [blame] | 326 | $(top_builddir)/extensions/openpower-pels/src.o |
| 327 | extended_user_header_test_LDFLAGS = $(test_ldflags) |
| 328 | |
Matt Spinler | f1e85e2 | 2019-11-01 11:31:31 -0500 | [diff] [blame] | 329 | pel_rules_test_SOURCES = %reldir%/pel_rules_test.cpp |
| 330 | pel_rules_test_CPPFLAGS = $(test_cppflags) |
| 331 | pel_rules_test_CXXFLAGS = $(test_cxxflags) |
| 332 | pel_rules_test_LDADD = \ |
| 333 | $(test_ldflags) \ |
| 334 | $(top_builddir)/extensions/openpower-pels/pel_rules.o |
| 335 | pel_rules_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f60ac27 | 2019-12-11 13:47:50 -0600 | [diff] [blame] | 336 | |
| 337 | host_notifier_test_SOURCES = \ |
| 338 | %reldir%/host_notifier_test.cpp \ |
| 339 | %reldir%/paths.cpp \ |
| 340 | %reldir%/pel_utils.cpp |
| 341 | host_notifier_test_CPPFLAGS = $(test_cppflags) |
| 342 | host_notifier_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS) |
| 343 | host_notifier_test_LDADD = \ |
| 344 | $(test_ldflags) \ |
| 345 | $(pel_objects) \ |
| 346 | $(top_builddir)/extensions/openpower-pels/host_notifier.o \ |
| 347 | $(top_builddir)/extensions/openpower-pels/repository.o |
| 348 | host_notifier_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS) |
Harisuddin Mohamed Isa | e2d1bf3 | 2020-02-06 17:32:38 +0800 | [diff] [blame] | 349 | |
| 350 | json_utils_test_SOURCES = %reldir%/json_utils_test.cpp |
| 351 | json_utils_test_CPPFLAGS = $(test_cppflags) |
| 352 | json_utils_test_CXXFLAGS = $(test_cxxflags) |
| 353 | json_utils_test_LDADD = \ |
| 354 | $(test_ldadd) \ |
| 355 | $(top_builddir)/extensions/openpower-pels/json_utils.o |
| 356 | json_utils_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | f682b40 | 2019-12-18 13:48:08 -0600 | [diff] [blame] | 357 | |
| 358 | event_logger_test_SOURCES = \ |
| 359 | %reldir%/event_logger_test.cpp |
| 360 | event_logger_test_CPPFLAGS = $(test_cppflags) |
| 361 | event_logger_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS) |
| 362 | event_logger_test_LDADD = \ |
| 363 | $(test_ldadd) |
| 364 | event_logger_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS) |