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