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