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