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