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