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