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