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 | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 7 | failing_mtms_test \ |
Matt Spinler | a906c94 | 2019-10-08 13:42:05 -0500 | [diff] [blame] | 8 | fru_identity_test \ |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 9 | generic_section_test \ |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 10 | log_id_test \ |
Matt Spinler | 90b4a0a | 2019-10-09 10:08:43 -0500 | [diff] [blame] | 11 | mru_test \ |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 12 | mtms_test \ |
Matt Spinler | 5b3a11d | 2019-10-08 14:13:31 -0500 | [diff] [blame] | 13 | pce_identity_test \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 14 | pel_test \ |
Matt Spinler | 835a869 | 2019-08-27 13:56:05 -0500 | [diff] [blame] | 15 | pel_values_test \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 16 | pel_manager_test \ |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 17 | private_header_test \ |
Matt Spinler | 07eefc5 | 2019-09-26 11:18:26 -0500 | [diff] [blame] | 18 | real_pel_test \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 19 | registry_test \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 20 | repository_test \ |
Matt Spinler | 1b5c72b | 2019-07-10 10:32:06 -0500 | [diff] [blame] | 21 | section_header_test \ |
Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 22 | severity_test \ |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame^] | 23 | src_callout_test \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 24 | stream_test \ |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 25 | user_data_test \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 26 | user_header_test |
Matt Spinler | 15ee6ae | 2019-07-08 16:50:06 -0500 | [diff] [blame] | 27 | |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 28 | pel_objects = \ |
| 29 | $(top_builddir)/extensions/openpower-pels/bcd_time.o \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 30 | $(top_builddir)/extensions/openpower-pels/failing_mtms.o \ |
| 31 | $(top_builddir)/extensions/openpower-pels/generic.o \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 32 | $(top_builddir)/extensions/openpower-pels/log_id.o \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 33 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 34 | $(top_builddir)/extensions/openpower-pels/pel.o \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 35 | $(top_builddir)/extensions/openpower-pels/pel_values.o \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 36 | $(top_builddir)/extensions/openpower-pels/private_header.o \ |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 37 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
Matt Spinler | 131870c | 2019-09-25 13:29:04 -0500 | [diff] [blame] | 38 | $(top_builddir)/extensions/openpower-pels/section_factory.o \ |
Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 39 | $(top_builddir)/extensions/openpower-pels/severity.o \ |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 40 | $(top_builddir)/extensions/openpower-pels/user_data.o \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 41 | $(top_builddir)/extensions/openpower-pels/user_header.o |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 42 | |
Matt Spinler | 15ee6ae | 2019-07-08 16:50:06 -0500 | [diff] [blame] | 43 | additional_data_test_SOURCES = %reldir%/additional_data_test.cpp |
| 44 | additional_data_test_CPPFLAGS = $(test_cppflags) |
| 45 | additional_data_test_CXXFLAGS = $(test_cxxflags) |
| 46 | additional_data_test_LDADD = $(test_ldadd) |
| 47 | additional_data_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 113ad28 | 2019-07-09 14:44:13 -0500 | [diff] [blame] | 48 | |
| 49 | stream_test_SOURCES = %reldir%/stream_test.cpp |
| 50 | stream_test_CPPFLAGS = $(test_cppflags) |
| 51 | stream_test_CXXFLAGS = $(test_cxxflags) |
| 52 | stream_test_LDADD = $(test_ldadd) |
Matt Spinler | df797f2 | 2019-07-09 15:39:51 -0500 | [diff] [blame] | 53 | stream_test_LDFLAGS = $(test_ldflags) |
| 54 | |
| 55 | bcd_time_test_SOURCES = \ |
| 56 | %reldir%/bcd_time_test.cpp |
| 57 | bcd_time_test_CPPFLAGS = $(test_cppflags) |
| 58 | bcd_time_test_CXXFLAGS = $(test_cxxflags) |
| 59 | bcd_time_test_LDADD = \ |
| 60 | $(test_ldadd) \ |
| 61 | $(top_builddir)/extensions/openpower-pels/bcd_time.o |
Matt Spinler | 1b5c72b | 2019-07-10 10:32:06 -0500 | [diff] [blame] | 62 | bcd_time_test_LDFLAGS = $(test_ldflags) |
| 63 | |
| 64 | section_header_test_SOURCES = \ |
| 65 | %reldir%/section_header_test.cpp |
| 66 | section_header_test_CPPFLAGS = $(test_cppflags) |
| 67 | section_header_test_CXXFLAGS = $(test_cxxflags) |
| 68 | section_header_test_LDADD = $(test_ldadd) |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 69 | section_header_test_LDFLAGS = $(test_ldflags) |
| 70 | |
| 71 | private_header_test_SOURCES = \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 72 | %reldir%/private_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 73 | private_header_test_CPPFLAGS = $(test_cppflags) |
| 74 | private_header_test_CXXFLAGS = $(test_cxxflags) |
| 75 | private_header_test_LDADD = \ |
| 76 | $(test_ldadd) \ |
| 77 | $(pel_objects) |
| 78 | private_header_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 79 | |
| 80 | user_header_test_SOURCES = \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 81 | %reldir%/user_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 82 | user_header_test_CPPFLAGS = $(test_cppflags) |
| 83 | user_header_test_CXXFLAGS = $(test_cxxflags) |
| 84 | user_header_test_LDADD = \ |
| 85 | $(test_ldadd) \ |
| 86 | $(pel_objects) |
| 87 | user_header_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 88 | |
| 89 | log_id_test_SOURCES = \ |
| 90 | %reldir%/log_id_test.cpp %reldir%/paths.cpp |
| 91 | log_id_test_CPPFLAGS = $(test_cppflags) |
| 92 | log_id_test_CXXFLAGS = $(test_cxxflags) |
| 93 | log_id_test_LDADD = \ |
| 94 | $(test_ldadd) \ |
| 95 | $(top_builddir)/extensions/openpower-pels/log_id.o |
| 96 | log_id_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 97 | |
| 98 | pel_test_SOURCES = \ |
| 99 | %reldir%/pel_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp |
| 100 | pel_test_CPPFLAGS = $(test_cppflags) |
| 101 | pel_test_CXXFLAGS = $(test_cxxflags) |
| 102 | pel_test_LDADD = \ |
| 103 | $(test_ldadd) \ |
| 104 | $(pel_objects) |
| 105 | pel_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 106 | |
Matt Spinler | 07eefc5 | 2019-09-26 11:18:26 -0500 | [diff] [blame] | 107 | real_pel_test_SOURCES = \ |
| 108 | %reldir%/real_pel_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp |
| 109 | real_pel_test_CPPFLAGS = $(test_cppflags) |
| 110 | real_pel_test_CXXFLAGS = $(test_cxxflags) |
| 111 | real_pel_test_LDADD = \ |
| 112 | $(test_ldadd) \ |
| 113 | $(pel_objects) |
| 114 | real_pel_test_LDFLAGS = $(test_ldflags) |
| 115 | |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 116 | repository_test_SOURCES = \ |
| 117 | %reldir%/repository_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp |
| 118 | repository_test_CPPFLAGS = $(test_cppflags) |
| 119 | repository_test_CXXFLAGS = $(test_cxxflags) |
| 120 | repository_test_LDADD = \ |
| 121 | $(test_ldadd) \ |
| 122 | $(pel_objects) \ |
| 123 | $(top_builddir)/extensions/openpower-pels/repository.o |
| 124 | repository_test_LDFLAGS = $(test_ldflags) |
| 125 | |
| 126 | pel_manager_test_SOURCES = \ |
| 127 | %reldir%/pel_manager_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp |
| 128 | pel_manager_test_CPPFLAGS = $(test_cppflags) |
| 129 | pel_manager_test_CXXFLAGS = $(test_cxxflags) |
| 130 | pel_manager_test_LDADD = \ |
| 131 | $(test_ldadd) \ |
| 132 | $(pel_objects) \ |
Matt Spinler | c8705e2 | 2019-09-11 12:36:07 -0500 | [diff] [blame] | 133 | $(top_builddir)/extensions/openpower-pels/data_interface.o \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 134 | $(top_builddir)/extensions/openpower-pels/manager.o \ |
| 135 | $(top_builddir)/extensions/openpower-pels/repository.o |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 136 | pel_manager_test_LDFLAGS = $(test_ldflags) |
| 137 | |
Matt Spinler | 367144c | 2019-09-19 15:33:52 -0500 | [diff] [blame] | 138 | registry_test_SOURCES = \ |
| 139 | %reldir%/registry_test.cpp %reldir%/paths.cpp |
| 140 | registry_test_CPPFLAGS = $(test_cppflags) |
| 141 | registry_test_CXXFLAGS = $(test_cxxflags) |
| 142 | registry_test_LDADD = \ |
| 143 | $(test_ldadd) \ |
| 144 | $(top_builddir)/extensions/openpower-pels/registry.o \ |
| 145 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
| 146 | registry_test_LDFLAGS = $(test_ldflags) |
| 147 | |
Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 148 | severity_test_SOURCES = %reldir%/severity_test.cpp |
| 149 | severity_test_CPPFLAGS = $(test_cppflags) |
| 150 | severity_test_CXXFLAGS = $(test_cxxflags) |
| 151 | severity_test_LDADD = \ |
| 152 | $(test_ldflags) \ |
| 153 | $(top_builddir)/extensions/openpower-pels/severity.o |
| 154 | severity_test_LDFLAGS = $(test_ldflags) |
| 155 | |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 156 | mtms_test_SOURCES = %reldir%/mtms_test.cpp |
| 157 | mtms_test_CPPFLAGS = $(test_cppflags) |
| 158 | mtms_test_CXXFLAGS = $(test_cxxflags) |
| 159 | mtms_test_LDADD = \ |
| 160 | $(test_ldadd) \ |
| 161 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 162 | mtms_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 163 | |
| 164 | failing_mtms_test_SOURCES = %reldir%/failing_mtms_test.cpp |
| 165 | failing_mtms_test_CPPFLAGS = $(test_cppflags) |
| 166 | failing_mtms_test_CXXFLAGS = $(test_cxxflags) |
| 167 | failing_mtms_test_LDADD = \ |
| 168 | $(test_ldadd) \ |
| 169 | $(top_builddir)/extensions/openpower-pels/failing_mtms.o \ |
| 170 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 171 | failing_mtms_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 835a869 | 2019-08-27 13:56:05 -0500 | [diff] [blame] | 172 | |
| 173 | pel_values_test_SOURCES = %reldir%/pel_values_test.cpp |
| 174 | pel_values_test_CPPFLAGS = $(test_cppflags) |
| 175 | pel_values_test_CXXFLAGS = $(test_cxxflags) |
| 176 | pel_values_test_LDADD = \ |
| 177 | $(test_ldflags) \ |
| 178 | $(top_builddir)/extensions/openpower-pels/pel_values.o |
| 179 | pel_values_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 14d671f | 2019-09-25 13:11:22 -0500 | [diff] [blame] | 180 | |
| 181 | generic_section_test_SOURCES = \ |
| 182 | %reldir%/generic_section_test.cpp %reldir%/pel_utils.cpp |
| 183 | generic_section_test_CPPFLAGS = $(test_cppflags) |
| 184 | generic_section_test_CXXFLAGS = $(test_cxxflags) |
| 185 | generic_section_test_LDADD = \ |
| 186 | $(test_ldadd) \ |
| 187 | $(top_builddir)/extensions/openpower-pels/generic.o |
| 188 | generic_section_test_LDFLAGS = $(test_ldflags) |
Aatir Manzur | 51c9263 | 2019-09-06 13:30:48 -0500 | [diff] [blame] | 189 | |
| 190 | user_data_test_SOURCES = \ |
| 191 | %reldir%/user_data_test.cpp %reldir%/pel_utils.cpp |
| 192 | user_data_test_CPPFLAGS = $(test_cppflags) |
| 193 | user_data_test_CXXFLAGS = $(test_cxxflags) |
| 194 | user_data_test_LDADD = \ |
| 195 | $(test_ldadd) \ |
| 196 | $(top_builddir)/extensions/openpower-pels/user_data.o |
| 197 | user_data_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 6852d72 | 2019-09-30 15:35:53 -0500 | [diff] [blame] | 198 | |
| 199 | ascii_string_test_SOURCES = %reldir%/ascii_string_test.cpp |
| 200 | ascii_string_test_CPPFLAGS = $(test_cppflags) |
| 201 | ascii_string_test_CXXFLAGS = $(test_cxxflags) |
| 202 | ascii_string_test_LDADD = \ |
| 203 | $(test_ldadd) \ |
| 204 | $(top_builddir)/extensions/openpower-pels/ascii_string.o |
| 205 | ascii_string_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | a906c94 | 2019-10-08 13:42:05 -0500 | [diff] [blame] | 206 | |
| 207 | fru_identity_test_SOURCES = %reldir%/fru_identity_test.cpp |
| 208 | fru_identity_test_CPPFLAGS = $(test_cppflags) |
| 209 | fru_identity_test_CXXFLAGS = $(test_cxxflags) |
| 210 | fru_identity_test_LDADD = \ |
| 211 | $(test_ldadd) \ |
| 212 | $(top_builddir)/extensions/openpower-pels/fru_identity.o |
| 213 | fru_identity_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 5b3a11d | 2019-10-08 14:13:31 -0500 | [diff] [blame] | 214 | |
| 215 | pce_identity_test_SOURCES = %reldir%/pce_identity_test.cpp |
| 216 | pce_identity_test_CPPFLAGS = $(test_cppflags) |
| 217 | pce_identity_test_CXXFLAGS = $(test_cxxflags) |
| 218 | pce_identity_test_LDADD = \ |
| 219 | $(test_ldadd) \ |
| 220 | $(top_builddir)/extensions/openpower-pels/pce_identity.o \ |
| 221 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 222 | pce_identity_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 90b4a0a | 2019-10-09 10:08:43 -0500 | [diff] [blame] | 223 | |
| 224 | mru_test_SOURCES = %reldir%/mru_test.cpp |
| 225 | mru_test_CPPFLAGS = $(test_cppflags) |
| 226 | mru_test_CXXFLAGS = $(test_cxxflags) |
| 227 | mru_test_LDADD = \ |
| 228 | $(test_ldadd) \ |
| 229 | $(top_builddir)/extensions/openpower-pels/mru.o |
| 230 | mru_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 6c9662c | 2019-10-09 11:27:20 -0500 | [diff] [blame^] | 231 | |
| 232 | src_callout_test_SOURCES = \ |
| 233 | %reldir%/src_callout_test.cpp \ |
| 234 | %reldir%/pel_utils.cpp |
| 235 | src_callout_test_CPPFLAGS = $(test_cppflags) |
| 236 | src_callout_test_CXXFLAGS = $(test_cxxflags) |
| 237 | src_callout_test_LDADD = \ |
| 238 | $(test_ldadd) \ |
| 239 | $(top_builddir)/extensions/openpower-pels/callout.o \ |
| 240 | $(top_builddir)/extensions/openpower-pels/fru_identity.o \ |
| 241 | $(top_builddir)/extensions/openpower-pels/mru.o \ |
| 242 | $(top_builddir)/extensions/openpower-pels/mtms.o \ |
| 243 | $(top_builddir)/extensions/openpower-pels/pce_identity.o |
| 244 | src_callout_test_LDFLAGS = $(test_ldflags) |