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