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