blob: 09eb36b3f69a968e0c3edb6e4fdeda1eec51be9d [file] [log] [blame]
Matt Spinler15ee6ae2019-07-08 16:50:06 -05001TESTS += $(check_PROGRAMS)
2
3check_PROGRAMS += \
Matt Spinler113ad282019-07-09 14:44:13 -05004 additional_data_test \
Matt Spinler6852d722019-09-30 15:35:53 -05005 ascii_string_test \
Matt Spinlerdf797f22019-07-09 15:39:51 -05006 bcd_time_test \
Matt Spinlerf682b402019-12-18 13:48:08 -06007 event_logger_test \
Matt Spinlerc63e2e82019-12-02 15:50:12 -06008 extended_user_header_test \
Matt Spinler09d64002019-09-11 14:29:46 -05009 failing_mtms_test \
Matt Spinlera906c942019-10-08 13:42:05 -050010 fru_identity_test \
Matt Spinler14d671f2019-09-25 13:11:22 -050011 generic_section_test \
Matt Spinlerf60ac272019-12-11 13:47:50 -060012 host_notifier_test \
Harisuddin Mohamed Isae2d1bf32020-02-06 17:32:38 +080013 json_utils_test \
Matt Spinlerdf13bdb2019-07-10 16:54:13 -050014 log_id_test \
Matt Spinler90b4a0a2019-10-09 10:08:43 -050015 mru_test \
Matt Spinlerb6664332019-09-10 15:24:10 -050016 mtms_test \
Matt Spinler5b3a11d2019-10-08 14:13:31 -050017 pce_identity_test \
Matt Spinlerf1e85e22019-11-01 11:31:31 -050018 pel_manager_test \
19 pel_rules_test \
Matt Spinlercb6b0592019-07-16 15:58:51 -050020 pel_test \
Matt Spinler835a8692019-08-27 13:56:05 -050021 pel_values_test \
Matt Spinlerd3335df2019-07-10 11:04:21 -050022 private_header_test \
Matt Spinler07eefc52019-09-26 11:18:26 -050023 real_pel_test \
Matt Spinler367144c2019-09-19 15:33:52 -050024 registry_test \
Matt Spinler89fa0822019-07-17 13:54:30 -050025 repository_test \
Matt Spinler1b5c72b2019-07-10 10:32:06 -050026 section_header_test \
Matt Spinler8c686cc2019-09-20 13:46:02 -050027 severity_test \
Matt Spinlerf9bae182019-10-09 13:37:38 -050028 src_test \
Matt Spinler6c9662c2019-10-09 11:27:20 -050029 src_callout_test \
Matt Spinler32f13c92019-10-09 12:48:25 -050030 src_callouts_test \
Matt Spinler03c1d912019-07-10 14:12:15 -050031 stream_test \
Aatir Manzur51c92632019-09-06 13:30:48 -050032 user_data_test \
Matt Spinler03c1d912019-07-10 14:12:15 -050033 user_header_test
Matt Spinler15ee6ae2019-07-08 16:50:06 -050034
Matt Spinlerd3335df2019-07-10 11:04:21 -050035pel_objects = \
Matt Spinlerf9bae182019-10-09 13:37:38 -050036 $(top_builddir)/extensions/openpower-pels/ascii_string.o \
Matt Spinlerd3335df2019-07-10 11:04:21 -050037 $(top_builddir)/extensions/openpower-pels/bcd_time.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -050038 $(top_builddir)/extensions/openpower-pels/callout.o \
39 $(top_builddir)/extensions/openpower-pels/callouts.o \
Matt Spinlerc63e2e82019-12-02 15:50:12 -060040 $(top_builddir)/extensions/openpower-pels/extended_user_header.o \
Matt Spinler131870c2019-09-25 13:29:04 -050041 $(top_builddir)/extensions/openpower-pels/failing_mtms.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -050042 $(top_builddir)/extensions/openpower-pels/fru_identity.o \
Matt Spinler131870c2019-09-25 13:29:04 -050043 $(top_builddir)/extensions/openpower-pels/generic.o \
Harisuddin Mohamed Isa600d15a2019-12-20 12:42:26 +080044 $(top_builddir)/extensions/openpower-pels/json_utils.o \
Matt Spinlercb6b0592019-07-16 15:58:51 -050045 $(top_builddir)/extensions/openpower-pels/log_id.o \
Matt Spinler131870c2019-09-25 13:29:04 -050046 $(top_builddir)/extensions/openpower-pels/mtms.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -050047 $(top_builddir)/extensions/openpower-pels/mru.o \
48 $(top_builddir)/extensions/openpower-pels/pce_identity.o \
Matt Spinlercb6b0592019-07-16 15:58:51 -050049 $(top_builddir)/extensions/openpower-pels/pel.o \
Matt Spinlerf1e85e22019-11-01 11:31:31 -050050 $(top_builddir)/extensions/openpower-pels/pel_rules.o \
Matt Spinler367144c2019-09-19 15:33:52 -050051 $(top_builddir)/extensions/openpower-pels/pel_values.o \
Matt Spinler03c1d912019-07-10 14:12:15 -050052 $(top_builddir)/extensions/openpower-pels/private_header.o \
Matt Spinler367144c2019-09-19 15:33:52 -050053 $(top_builddir)/extensions/openpower-pels/registry.o \
Matt Spinler131870c2019-09-25 13:29:04 -050054 $(top_builddir)/extensions/openpower-pels/section_factory.o \
Matt Spinler8c686cc2019-09-20 13:46:02 -050055 $(top_builddir)/extensions/openpower-pels/severity.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -050056 $(top_builddir)/extensions/openpower-pels/src.o \
Aatir Manzur51c92632019-09-06 13:30:48 -050057 $(top_builddir)/extensions/openpower-pels/user_data.o \
Matt Spinler03c1d912019-07-10 14:12:15 -050058 $(top_builddir)/extensions/openpower-pels/user_header.o
Matt Spinlerd3335df2019-07-10 11:04:21 -050059
Matt Spinler15ee6ae2019-07-08 16:50:06 -050060additional_data_test_SOURCES = %reldir%/additional_data_test.cpp
61additional_data_test_CPPFLAGS = $(test_cppflags)
62additional_data_test_CXXFLAGS = $(test_cxxflags)
63additional_data_test_LDADD = $(test_ldadd)
64additional_data_test_LDFLAGS = $(test_ldflags)
Matt Spinler113ad282019-07-09 14:44:13 -050065
66stream_test_SOURCES = %reldir%/stream_test.cpp
67stream_test_CPPFLAGS = $(test_cppflags)
68stream_test_CXXFLAGS = $(test_cxxflags)
69stream_test_LDADD = $(test_ldadd)
Matt Spinlerdf797f22019-07-09 15:39:51 -050070stream_test_LDFLAGS = $(test_ldflags)
71
72bcd_time_test_SOURCES = \
73 %reldir%/bcd_time_test.cpp
74bcd_time_test_CPPFLAGS = $(test_cppflags)
75bcd_time_test_CXXFLAGS = $(test_cxxflags)
76bcd_time_test_LDADD = \
77 $(test_ldadd) \
78 $(top_builddir)/extensions/openpower-pels/bcd_time.o
Matt Spinler1b5c72b2019-07-10 10:32:06 -050079bcd_time_test_LDFLAGS = $(test_ldflags)
80
81section_header_test_SOURCES = \
82 %reldir%/section_header_test.cpp
83section_header_test_CPPFLAGS = $(test_cppflags)
84section_header_test_CXXFLAGS = $(test_cxxflags)
85section_header_test_LDADD = $(test_ldadd)
Matt Spinlerd3335df2019-07-10 11:04:21 -050086section_header_test_LDFLAGS = $(test_ldflags)
87
88private_header_test_SOURCES = \
Matt Spinlercb6b0592019-07-16 15:58:51 -050089 %reldir%/private_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp
Matt Spinlerd3335df2019-07-10 11:04:21 -050090private_header_test_CPPFLAGS = $(test_cppflags)
91private_header_test_CXXFLAGS = $(test_cxxflags)
92private_header_test_LDADD = \
93 $(test_ldadd) \
94 $(pel_objects)
95private_header_test_LDFLAGS = $(test_ldflags)
Matt Spinler03c1d912019-07-10 14:12:15 -050096
97user_header_test_SOURCES = \
Matt Spinlercb6b0592019-07-16 15:58:51 -050098 %reldir%/user_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp
Matt Spinler03c1d912019-07-10 14:12:15 -050099user_header_test_CPPFLAGS = $(test_cppflags)
100user_header_test_CXXFLAGS = $(test_cxxflags)
101user_header_test_LDADD = \
102 $(test_ldadd) \
103 $(pel_objects)
104user_header_test_LDFLAGS = $(test_ldflags)
Matt Spinlerdf13bdb2019-07-10 16:54:13 -0500105
106log_id_test_SOURCES = \
107 %reldir%/log_id_test.cpp %reldir%/paths.cpp
108log_id_test_CPPFLAGS = $(test_cppflags)
109log_id_test_CXXFLAGS = $(test_cxxflags)
110log_id_test_LDADD = \
111 $(test_ldadd) \
112 $(top_builddir)/extensions/openpower-pels/log_id.o
113log_id_test_LDFLAGS = $(test_ldflags)
Matt Spinlercb6b0592019-07-16 15:58:51 -0500114
115pel_test_SOURCES = \
116 %reldir%/pel_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
117pel_test_CPPFLAGS = $(test_cppflags)
118pel_test_CXXFLAGS = $(test_cxxflags)
119pel_test_LDADD = \
120 $(test_ldadd) \
121 $(pel_objects)
122pel_test_LDFLAGS = $(test_ldflags)
Matt Spinler89fa0822019-07-17 13:54:30 -0500123
Matt Spinler07eefc52019-09-26 11:18:26 -0500124real_pel_test_SOURCES = \
125 %reldir%/real_pel_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
126real_pel_test_CPPFLAGS = $(test_cppflags)
127real_pel_test_CXXFLAGS = $(test_cxxflags)
128real_pel_test_LDADD = \
129 $(test_ldadd) \
130 $(pel_objects)
131real_pel_test_LDFLAGS = $(test_ldflags)
132
Matt Spinler89fa0822019-07-17 13:54:30 -0500133repository_test_SOURCES = \
134 %reldir%/repository_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
135repository_test_CPPFLAGS = $(test_cppflags)
136repository_test_CXXFLAGS = $(test_cxxflags)
137repository_test_LDADD = \
138 $(test_ldadd) \
139 $(pel_objects) \
140 $(top_builddir)/extensions/openpower-pels/repository.o
141repository_test_LDFLAGS = $(test_ldflags)
142
143pel_manager_test_SOURCES = \
144 %reldir%/pel_manager_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp
145pel_manager_test_CPPFLAGS = $(test_cppflags)
Matt Spinlera34ab722019-12-16 10:39:32 -0600146pel_manager_test_CXXFLAGS = \
147 $(test_cxxflags) \
148 $(SDEVENTPLUS_CFLAGS)
Matt Spinler89fa0822019-07-17 13:54:30 -0500149pel_manager_test_LDADD = \
150 $(test_ldadd) \
151 $(pel_objects) \
Matt Spinlerc8705e22019-09-11 12:36:07 -0500152 $(top_builddir)/extensions/openpower-pels/data_interface.o \
Matt Spinlerf60ac272019-12-11 13:47:50 -0600153 $(top_builddir)/extensions/openpower-pels/host_notifier.o \
Matt Spinler89fa0822019-07-17 13:54:30 -0500154 $(top_builddir)/extensions/openpower-pels/manager.o \
155 $(top_builddir)/extensions/openpower-pels/repository.o
Matt Spinlera34ab722019-12-16 10:39:32 -0600156pel_manager_test_LDFLAGS = \
157 $(test_ldflags) \
158 $(SDEVENTPLUS_LIBS)
Matt Spinlerb6664332019-09-10 15:24:10 -0500159
Matt Spinler367144c2019-09-19 15:33:52 -0500160registry_test_SOURCES = \
161 %reldir%/registry_test.cpp %reldir%/paths.cpp
162registry_test_CPPFLAGS = $(test_cppflags)
163registry_test_CXXFLAGS = $(test_cxxflags)
164registry_test_LDADD = \
165 $(test_ldadd) \
166 $(top_builddir)/extensions/openpower-pels/registry.o \
167 $(top_builddir)/extensions/openpower-pels/pel_values.o
168registry_test_LDFLAGS = $(test_ldflags)
169
Matt Spinler8c686cc2019-09-20 13:46:02 -0500170severity_test_SOURCES = %reldir%/severity_test.cpp
171severity_test_CPPFLAGS = $(test_cppflags)
172severity_test_CXXFLAGS = $(test_cxxflags)
173severity_test_LDADD = \
174 $(test_ldflags) \
175 $(top_builddir)/extensions/openpower-pels/severity.o
176severity_test_LDFLAGS = $(test_ldflags)
177
Matt Spinlerb6664332019-09-10 15:24:10 -0500178mtms_test_SOURCES = %reldir%/mtms_test.cpp
179mtms_test_CPPFLAGS = $(test_cppflags)
180mtms_test_CXXFLAGS = $(test_cxxflags)
181mtms_test_LDADD = \
182 $(test_ldadd) \
183 $(top_builddir)/extensions/openpower-pels/mtms.o
184mtms_test_LDFLAGS = $(test_ldflags)
Matt Spinler09d64002019-09-11 14:29:46 -0500185
186failing_mtms_test_SOURCES = %reldir%/failing_mtms_test.cpp
187failing_mtms_test_CPPFLAGS = $(test_cppflags)
188failing_mtms_test_CXXFLAGS = $(test_cxxflags)
189failing_mtms_test_LDADD = \
190 $(test_ldadd) \
191 $(top_builddir)/extensions/openpower-pels/failing_mtms.o \
Harisuddin Mohamed Isae2d1bf32020-02-06 17:32:38 +0800192 $(top_builddir)/extensions/openpower-pels/json_utils.o \
Matt Spinler09d64002019-09-11 14:29:46 -0500193 $(top_builddir)/extensions/openpower-pels/mtms.o
194failing_mtms_test_LDFLAGS = $(test_ldflags)
Matt Spinler835a8692019-08-27 13:56:05 -0500195
196pel_values_test_SOURCES = %reldir%/pel_values_test.cpp
197pel_values_test_CPPFLAGS = $(test_cppflags)
198pel_values_test_CXXFLAGS = $(test_cxxflags)
199pel_values_test_LDADD = \
200 $(test_ldflags) \
201 $(top_builddir)/extensions/openpower-pels/pel_values.o
202pel_values_test_LDFLAGS = $(test_ldflags)
Matt Spinler14d671f2019-09-25 13:11:22 -0500203
204generic_section_test_SOURCES = \
205 %reldir%/generic_section_test.cpp %reldir%/pel_utils.cpp
206generic_section_test_CPPFLAGS = $(test_cppflags)
207generic_section_test_CXXFLAGS = $(test_cxxflags)
208generic_section_test_LDADD = \
209 $(test_ldadd) \
210 $(top_builddir)/extensions/openpower-pels/generic.o
211generic_section_test_LDFLAGS = $(test_ldflags)
Aatir Manzur51c92632019-09-06 13:30:48 -0500212
213user_data_test_SOURCES = \
214 %reldir%/user_data_test.cpp %reldir%/pel_utils.cpp
215user_data_test_CPPFLAGS = $(test_cppflags)
216user_data_test_CXXFLAGS = $(test_cxxflags)
217user_data_test_LDADD = \
218 $(test_ldadd) \
219 $(top_builddir)/extensions/openpower-pels/user_data.o
220user_data_test_LDFLAGS = $(test_ldflags)
Matt Spinler6852d722019-09-30 15:35:53 -0500221
222ascii_string_test_SOURCES = %reldir%/ascii_string_test.cpp
223ascii_string_test_CPPFLAGS = $(test_cppflags)
224ascii_string_test_CXXFLAGS = $(test_cxxflags)
225ascii_string_test_LDADD = \
226 $(test_ldadd) \
227 $(top_builddir)/extensions/openpower-pels/ascii_string.o
228ascii_string_test_LDFLAGS = $(test_ldflags)
Matt Spinlera906c942019-10-08 13:42:05 -0500229
230fru_identity_test_SOURCES = %reldir%/fru_identity_test.cpp
231fru_identity_test_CPPFLAGS = $(test_cppflags)
232fru_identity_test_CXXFLAGS = $(test_cxxflags)
233fru_identity_test_LDADD = \
234 $(test_ldadd) \
235 $(top_builddir)/extensions/openpower-pels/fru_identity.o
236fru_identity_test_LDFLAGS = $(test_ldflags)
Matt Spinler5b3a11d2019-10-08 14:13:31 -0500237
238pce_identity_test_SOURCES = %reldir%/pce_identity_test.cpp
239pce_identity_test_CPPFLAGS = $(test_cppflags)
240pce_identity_test_CXXFLAGS = $(test_cxxflags)
241pce_identity_test_LDADD = \
242 $(test_ldadd) \
243 $(top_builddir)/extensions/openpower-pels/pce_identity.o \
244 $(top_builddir)/extensions/openpower-pels/mtms.o
245pce_identity_test_LDFLAGS = $(test_ldflags)
Matt Spinler90b4a0a2019-10-09 10:08:43 -0500246
247mru_test_SOURCES = %reldir%/mru_test.cpp
248mru_test_CPPFLAGS = $(test_cppflags)
249mru_test_CXXFLAGS = $(test_cxxflags)
250mru_test_LDADD = \
251 $(test_ldadd) \
252 $(top_builddir)/extensions/openpower-pels/mru.o
253mru_test_LDFLAGS = $(test_ldflags)
Matt Spinler6c9662c2019-10-09 11:27:20 -0500254
255src_callout_test_SOURCES = \
256 %reldir%/src_callout_test.cpp \
257 %reldir%/pel_utils.cpp
258src_callout_test_CPPFLAGS = $(test_cppflags)
259src_callout_test_CXXFLAGS = $(test_cxxflags)
260src_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
267src_callout_test_LDFLAGS = $(test_ldflags)
Matt Spinler32f13c92019-10-09 12:48:25 -0500268
269src_callouts_test_SOURCES = \
270 %reldir%/src_callouts_test.cpp \
271 %reldir%/pel_utils.cpp
272src_callouts_test_CPPFLAGS = $(test_cppflags)
273src_callouts_test_CXXFLAGS = $(test_cxxflags)
274src_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
282src_callouts_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf9bae182019-10-09 13:37:38 -0500283
284src_test_SOURCES = \
285 %reldir%/src_test.cpp \
286 %reldir%/pel_utils.cpp
287src_test_CPPFLAGS = $(test_cppflags)
288src_test_CXXFLAGS = $(test_cxxflags)
289src_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 Isa0f717e12020-01-15 20:05:33 +0800295 $(top_builddir)/extensions/openpower-pels/json_utils.o \
296 $(top_builddir)/extensions/openpower-pels/paths.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -0500297 $(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 Isa0f717e12020-01-15 20:05:33 +0800300 $(top_builddir)/extensions/openpower-pels/pel_values.o \
301 $(top_builddir)/extensions/openpower-pels/registry.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -0500302 $(top_builddir)/extensions/openpower-pels/src.o
303src_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf1e85e22019-11-01 11:31:31 -0500304
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600305extended_user_header_test_SOURCES = \
306 %reldir%/extended_user_header_test.cpp \
307 %reldir%/pel_utils.cpp
308extended_user_header_test_CPPFLAGS = $(test_cppflags)
309extended_user_header_test_CXXFLAGS = $(test_cxxflags)
310extended_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 Isa0f717e12020-01-15 20:05:33 +0800319 $(top_builddir)/extensions/openpower-pels/json_utils.o \
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600320 $(top_builddir)/extensions/openpower-pels/mru.o \
321 $(top_builddir)/extensions/openpower-pels/mtms.o \
Harisuddin Mohamed Isa0f717e12020-01-15 20:05:33 +0800322 $(top_builddir)/extensions/openpower-pels/paths.o \
323 $(top_builddir)/extensions/openpower-pels/pel_values.o \
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600324 $(top_builddir)/extensions/openpower-pels/pce_identity.o \
Harisuddin Mohamed Isa0f717e12020-01-15 20:05:33 +0800325 $(top_builddir)/extensions/openpower-pels/registry.o \
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600326 $(top_builddir)/extensions/openpower-pels/src.o
327extended_user_header_test_LDFLAGS = $(test_ldflags)
328
Matt Spinlerf1e85e22019-11-01 11:31:31 -0500329pel_rules_test_SOURCES = %reldir%/pel_rules_test.cpp
330pel_rules_test_CPPFLAGS = $(test_cppflags)
331pel_rules_test_CXXFLAGS = $(test_cxxflags)
332pel_rules_test_LDADD = \
333 $(test_ldflags) \
334 $(top_builddir)/extensions/openpower-pels/pel_rules.o
335pel_rules_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf60ac272019-12-11 13:47:50 -0600336
337host_notifier_test_SOURCES = \
338 %reldir%/host_notifier_test.cpp \
339 %reldir%/paths.cpp \
340 %reldir%/pel_utils.cpp
341host_notifier_test_CPPFLAGS = $(test_cppflags)
342host_notifier_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS)
343host_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
348host_notifier_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS)
Harisuddin Mohamed Isae2d1bf32020-02-06 17:32:38 +0800349
350json_utils_test_SOURCES = %reldir%/json_utils_test.cpp
351json_utils_test_CPPFLAGS = $(test_cppflags)
352json_utils_test_CXXFLAGS = $(test_cxxflags)
353json_utils_test_LDADD = \
354 $(test_ldadd) \
355 $(top_builddir)/extensions/openpower-pels/json_utils.o
356json_utils_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf682b402019-12-18 13:48:08 -0600357
358event_logger_test_SOURCES = \
359 %reldir%/event_logger_test.cpp
360event_logger_test_CPPFLAGS = $(test_cppflags)
361event_logger_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS)
362event_logger_test_LDADD = \
363 $(test_ldadd)
364event_logger_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS)