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