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