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