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 | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 6 | log_id_test \ |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 7 | mtms_test \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 8 | pel_test \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 9 | pel_manager_test \ |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 10 | private_header_test \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 11 | repository_test \ |
Matt Spinler | 1b5c72b | 2019-07-10 10:32:06 -0500 | [diff] [blame] | 12 | section_header_test \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 13 | stream_test \ |
| 14 | user_header_test |
Matt Spinler | 15ee6ae | 2019-07-08 16:50:06 -0500 | [diff] [blame] | 15 | |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 16 | pel_objects = \ |
| 17 | $(top_builddir)/extensions/openpower-pels/bcd_time.o \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 18 | $(top_builddir)/extensions/openpower-pels/log_id.o \ |
| 19 | $(top_builddir)/extensions/openpower-pels/pel.o \ |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 20 | $(top_builddir)/extensions/openpower-pels/private_header.o \ |
| 21 | $(top_builddir)/extensions/openpower-pels/user_header.o |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 22 | |
Matt Spinler | 15ee6ae | 2019-07-08 16:50:06 -0500 | [diff] [blame] | 23 | additional_data_test_SOURCES = %reldir%/additional_data_test.cpp |
| 24 | additional_data_test_CPPFLAGS = $(test_cppflags) |
| 25 | additional_data_test_CXXFLAGS = $(test_cxxflags) |
| 26 | additional_data_test_LDADD = $(test_ldadd) |
| 27 | additional_data_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 113ad28 | 2019-07-09 14:44:13 -0500 | [diff] [blame] | 28 | |
| 29 | stream_test_SOURCES = %reldir%/stream_test.cpp |
| 30 | stream_test_CPPFLAGS = $(test_cppflags) |
| 31 | stream_test_CXXFLAGS = $(test_cxxflags) |
| 32 | stream_test_LDADD = $(test_ldadd) |
Matt Spinler | df797f2 | 2019-07-09 15:39:51 -0500 | [diff] [blame] | 33 | stream_test_LDFLAGS = $(test_ldflags) |
| 34 | |
| 35 | bcd_time_test_SOURCES = \ |
| 36 | %reldir%/bcd_time_test.cpp |
| 37 | bcd_time_test_CPPFLAGS = $(test_cppflags) |
| 38 | bcd_time_test_CXXFLAGS = $(test_cxxflags) |
| 39 | bcd_time_test_LDADD = \ |
| 40 | $(test_ldadd) \ |
| 41 | $(top_builddir)/extensions/openpower-pels/bcd_time.o |
Matt Spinler | 1b5c72b | 2019-07-10 10:32:06 -0500 | [diff] [blame] | 42 | bcd_time_test_LDFLAGS = $(test_ldflags) |
| 43 | |
| 44 | section_header_test_SOURCES = \ |
| 45 | %reldir%/section_header_test.cpp |
| 46 | section_header_test_CPPFLAGS = $(test_cppflags) |
| 47 | section_header_test_CXXFLAGS = $(test_cxxflags) |
| 48 | section_header_test_LDADD = $(test_ldadd) |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 49 | section_header_test_LDFLAGS = $(test_ldflags) |
| 50 | |
| 51 | private_header_test_SOURCES = \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 52 | %reldir%/private_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp |
Matt Spinler | d3335df | 2019-07-10 11:04:21 -0500 | [diff] [blame] | 53 | private_header_test_CPPFLAGS = $(test_cppflags) |
| 54 | private_header_test_CXXFLAGS = $(test_cxxflags) |
| 55 | private_header_test_LDADD = \ |
| 56 | $(test_ldadd) \ |
| 57 | $(pel_objects) |
| 58 | private_header_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 59 | |
| 60 | user_header_test_SOURCES = \ |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 61 | %reldir%/user_header_test.cpp %reldir%/pel_utils.cpp %reldir%/paths.cpp |
Matt Spinler | 03c1d91 | 2019-07-10 14:12:15 -0500 | [diff] [blame] | 62 | user_header_test_CPPFLAGS = $(test_cppflags) |
| 63 | user_header_test_CXXFLAGS = $(test_cxxflags) |
| 64 | user_header_test_LDADD = \ |
| 65 | $(test_ldadd) \ |
| 66 | $(pel_objects) |
| 67 | user_header_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | df13bdb | 2019-07-10 16:54:13 -0500 | [diff] [blame] | 68 | |
| 69 | log_id_test_SOURCES = \ |
| 70 | %reldir%/log_id_test.cpp %reldir%/paths.cpp |
| 71 | log_id_test_CPPFLAGS = $(test_cppflags) |
| 72 | log_id_test_CXXFLAGS = $(test_cxxflags) |
| 73 | log_id_test_LDADD = \ |
| 74 | $(test_ldadd) \ |
| 75 | $(top_builddir)/extensions/openpower-pels/log_id.o |
| 76 | log_id_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | cb6b059 | 2019-07-16 15:58:51 -0500 | [diff] [blame] | 77 | |
| 78 | pel_test_SOURCES = \ |
| 79 | %reldir%/pel_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp |
| 80 | pel_test_CPPFLAGS = $(test_cppflags) |
| 81 | pel_test_CXXFLAGS = $(test_cxxflags) |
| 82 | pel_test_LDADD = \ |
| 83 | $(test_ldadd) \ |
| 84 | $(pel_objects) |
| 85 | pel_test_LDFLAGS = $(test_ldflags) |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 86 | |
| 87 | repository_test_SOURCES = \ |
| 88 | %reldir%/repository_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp |
| 89 | repository_test_CPPFLAGS = $(test_cppflags) |
| 90 | repository_test_CXXFLAGS = $(test_cxxflags) |
| 91 | repository_test_LDADD = \ |
| 92 | $(test_ldadd) \ |
| 93 | $(pel_objects) \ |
| 94 | $(top_builddir)/extensions/openpower-pels/repository.o |
| 95 | repository_test_LDFLAGS = $(test_ldflags) |
| 96 | |
| 97 | pel_manager_test_SOURCES = \ |
| 98 | %reldir%/pel_manager_test.cpp %reldir%/paths.cpp %reldir%/pel_utils.cpp |
| 99 | pel_manager_test_CPPFLAGS = $(test_cppflags) |
| 100 | pel_manager_test_CXXFLAGS = $(test_cxxflags) |
| 101 | pel_manager_test_LDADD = \ |
| 102 | $(test_ldadd) \ |
| 103 | $(pel_objects) \ |
Matt Spinler | c8705e2 | 2019-09-11 12:36:07 -0500 | [diff] [blame^] | 104 | $(top_builddir)/extensions/openpower-pels/data_interface.o \ |
Matt Spinler | 89fa082 | 2019-07-17 13:54:30 -0500 | [diff] [blame] | 105 | $(top_builddir)/extensions/openpower-pels/manager.o \ |
| 106 | $(top_builddir)/extensions/openpower-pels/repository.o |
Matt Spinler | b666433 | 2019-09-10 15:24:10 -0500 | [diff] [blame] | 107 | pel_manager_test_LDFLAGS = $(test_ldflags) |
| 108 | |
| 109 | mtms_test_SOURCES = %reldir%/mtms_test.cpp |
| 110 | mtms_test_CPPFLAGS = $(test_cppflags) |
| 111 | mtms_test_CXXFLAGS = $(test_cxxflags) |
| 112 | mtms_test_LDADD = \ |
| 113 | $(test_ldadd) \ |
| 114 | $(top_builddir)/extensions/openpower-pels/mtms.o |
| 115 | mtms_test_LDFLAGS = $(test_ldflags) |