blob: 6ba7236bc098118b43de53dfa6c93f0d66b8b7ea [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 \
Harisuddin Mohamed Isabebeb942020-03-12 17:12:24 +0800193 $(top_builddir)/extensions/openpower-pels/mtms.o \
194 $(top_builddir)/extensions/openpower-pels/pel_values.o
Matt Spinler09d64002019-09-11 14:29:46 -0500195failing_mtms_test_LDFLAGS = $(test_ldflags)
Matt Spinler835a8692019-08-27 13:56:05 -0500196
197pel_values_test_SOURCES = %reldir%/pel_values_test.cpp
198pel_values_test_CPPFLAGS = $(test_cppflags)
199pel_values_test_CXXFLAGS = $(test_cxxflags)
200pel_values_test_LDADD = \
201 $(test_ldflags) \
202 $(top_builddir)/extensions/openpower-pels/pel_values.o
203pel_values_test_LDFLAGS = $(test_ldflags)
Matt Spinler14d671f2019-09-25 13:11:22 -0500204
205generic_section_test_SOURCES = \
206 %reldir%/generic_section_test.cpp %reldir%/pel_utils.cpp
207generic_section_test_CPPFLAGS = $(test_cppflags)
208generic_section_test_CXXFLAGS = $(test_cxxflags)
209generic_section_test_LDADD = \
210 $(test_ldadd) \
211 $(top_builddir)/extensions/openpower-pels/generic.o
212generic_section_test_LDFLAGS = $(test_ldflags)
Aatir Manzur51c92632019-09-06 13:30:48 -0500213
214user_data_test_SOURCES = \
215 %reldir%/user_data_test.cpp %reldir%/pel_utils.cpp
216user_data_test_CPPFLAGS = $(test_cppflags)
217user_data_test_CXXFLAGS = $(test_cxxflags)
218user_data_test_LDADD = \
219 $(test_ldadd) \
220 $(top_builddir)/extensions/openpower-pels/user_data.o
221user_data_test_LDFLAGS = $(test_ldflags)
Matt Spinler6852d722019-09-30 15:35:53 -0500222
223ascii_string_test_SOURCES = %reldir%/ascii_string_test.cpp
224ascii_string_test_CPPFLAGS = $(test_cppflags)
225ascii_string_test_CXXFLAGS = $(test_cxxflags)
226ascii_string_test_LDADD = \
227 $(test_ldadd) \
228 $(top_builddir)/extensions/openpower-pels/ascii_string.o
229ascii_string_test_LDFLAGS = $(test_ldflags)
Matt Spinlera906c942019-10-08 13:42:05 -0500230
231fru_identity_test_SOURCES = %reldir%/fru_identity_test.cpp
232fru_identity_test_CPPFLAGS = $(test_cppflags)
233fru_identity_test_CXXFLAGS = $(test_cxxflags)
234fru_identity_test_LDADD = \
235 $(test_ldadd) \
236 $(top_builddir)/extensions/openpower-pels/fru_identity.o
237fru_identity_test_LDFLAGS = $(test_ldflags)
Matt Spinler5b3a11d2019-10-08 14:13:31 -0500238
239pce_identity_test_SOURCES = %reldir%/pce_identity_test.cpp
240pce_identity_test_CPPFLAGS = $(test_cppflags)
241pce_identity_test_CXXFLAGS = $(test_cxxflags)
242pce_identity_test_LDADD = \
243 $(test_ldadd) \
244 $(top_builddir)/extensions/openpower-pels/pce_identity.o \
245 $(top_builddir)/extensions/openpower-pels/mtms.o
246pce_identity_test_LDFLAGS = $(test_ldflags)
Matt Spinler90b4a0a2019-10-09 10:08:43 -0500247
248mru_test_SOURCES = %reldir%/mru_test.cpp
249mru_test_CPPFLAGS = $(test_cppflags)
250mru_test_CXXFLAGS = $(test_cxxflags)
251mru_test_LDADD = \
252 $(test_ldadd) \
253 $(top_builddir)/extensions/openpower-pels/mru.o
254mru_test_LDFLAGS = $(test_ldflags)
Matt Spinler6c9662c2019-10-09 11:27:20 -0500255
256src_callout_test_SOURCES = \
257 %reldir%/src_callout_test.cpp \
258 %reldir%/pel_utils.cpp
259src_callout_test_CPPFLAGS = $(test_cppflags)
260src_callout_test_CXXFLAGS = $(test_cxxflags)
261src_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
268src_callout_test_LDFLAGS = $(test_ldflags)
Matt Spinler32f13c92019-10-09 12:48:25 -0500269
270src_callouts_test_SOURCES = \
271 %reldir%/src_callouts_test.cpp \
272 %reldir%/pel_utils.cpp
273src_callouts_test_CPPFLAGS = $(test_cppflags)
274src_callouts_test_CXXFLAGS = $(test_cxxflags)
275src_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
283src_callouts_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf9bae182019-10-09 13:37:38 -0500284
285src_test_SOURCES = \
286 %reldir%/src_test.cpp \
287 %reldir%/pel_utils.cpp
288src_test_CPPFLAGS = $(test_cppflags)
289src_test_CXXFLAGS = $(test_cxxflags)
290src_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 Isa0f717e12020-01-15 20:05:33 +0800296 $(top_builddir)/extensions/openpower-pels/json_utils.o \
297 $(top_builddir)/extensions/openpower-pels/paths.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -0500298 $(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 Isa0f717e12020-01-15 20:05:33 +0800301 $(top_builddir)/extensions/openpower-pels/pel_values.o \
302 $(top_builddir)/extensions/openpower-pels/registry.o \
Matt Spinlerf9bae182019-10-09 13:37:38 -0500303 $(top_builddir)/extensions/openpower-pels/src.o
304src_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf1e85e22019-11-01 11:31:31 -0500305
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600306extended_user_header_test_SOURCES = \
307 %reldir%/extended_user_header_test.cpp \
308 %reldir%/pel_utils.cpp
309extended_user_header_test_CPPFLAGS = $(test_cppflags)
310extended_user_header_test_CXXFLAGS = $(test_cxxflags)
311extended_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 Isa0f717e12020-01-15 20:05:33 +0800320 $(top_builddir)/extensions/openpower-pels/json_utils.o \
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600321 $(top_builddir)/extensions/openpower-pels/mru.o \
322 $(top_builddir)/extensions/openpower-pels/mtms.o \
Harisuddin Mohamed Isa0f717e12020-01-15 20:05:33 +0800323 $(top_builddir)/extensions/openpower-pels/paths.o \
324 $(top_builddir)/extensions/openpower-pels/pel_values.o \
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600325 $(top_builddir)/extensions/openpower-pels/pce_identity.o \
Harisuddin Mohamed Isa0f717e12020-01-15 20:05:33 +0800326 $(top_builddir)/extensions/openpower-pels/registry.o \
Matt Spinlerc63e2e82019-12-02 15:50:12 -0600327 $(top_builddir)/extensions/openpower-pels/src.o
328extended_user_header_test_LDFLAGS = $(test_ldflags)
329
Matt Spinlerf1e85e22019-11-01 11:31:31 -0500330pel_rules_test_SOURCES = %reldir%/pel_rules_test.cpp
331pel_rules_test_CPPFLAGS = $(test_cppflags)
332pel_rules_test_CXXFLAGS = $(test_cxxflags)
333pel_rules_test_LDADD = \
334 $(test_ldflags) \
335 $(top_builddir)/extensions/openpower-pels/pel_rules.o
336pel_rules_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf60ac272019-12-11 13:47:50 -0600337
338host_notifier_test_SOURCES = \
339 %reldir%/host_notifier_test.cpp \
340 %reldir%/paths.cpp \
341 %reldir%/pel_utils.cpp
342host_notifier_test_CPPFLAGS = $(test_cppflags)
343host_notifier_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS)
344host_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
349host_notifier_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS)
Harisuddin Mohamed Isae2d1bf32020-02-06 17:32:38 +0800350
351json_utils_test_SOURCES = %reldir%/json_utils_test.cpp
352json_utils_test_CPPFLAGS = $(test_cppflags)
353json_utils_test_CXXFLAGS = $(test_cxxflags)
354json_utils_test_LDADD = \
355 $(test_ldadd) \
356 $(top_builddir)/extensions/openpower-pels/json_utils.o
357json_utils_test_LDFLAGS = $(test_ldflags)
Matt Spinlerf682b402019-12-18 13:48:08 -0600358
359event_logger_test_SOURCES = \
360 %reldir%/event_logger_test.cpp
361event_logger_test_CPPFLAGS = $(test_cppflags)
362event_logger_test_CXXFLAGS = $(test_cxxflags) $(SDEVENTPLUS_CFLAGS)
363event_logger_test_LDADD = \
364 $(test_ldadd)
365event_logger_test_LDFLAGS = $(test_ldflags) $(SDEVENTPLUS_LIBS)