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