Patrick Venture | ef3aead | 2018-09-12 08:53:29 -0700 | [diff] [blame^] | 1 | AM_CPPFLAGS = -I$(top_srcdir)/ \ |
| 2 | $(GTEST_CFLAGS) \ |
| 3 | $(GMOCK_CFLAGS) |
| 4 | AM_CXXFLAGS = \ |
| 5 | $(GTEST_MAIN_CFLAGS) |
| 6 | AM_LDFLAGS = \ |
| 7 | $(GMOCK_LIBS) \ |
| 8 | $(GTEST_MAIN_LIBS) \ |
| 9 | $(OESDK_TESTCASE_FLAGS) |
| 10 | |
| 11 | # Run all 'check' test programs |
| 12 | check_PROGRAMS = \ |
| 13 | ipmi_unittest \ |
| 14 | ipmi_getcount_unittest \ |
| 15 | ipmi_enumerate_unittest \ |
| 16 | ipmi_open_unittest \ |
| 17 | ipmi_close_unittest \ |
| 18 | ipmi_delete_unittest \ |
| 19 | ipmi_stat_unittest \ |
| 20 | ipmi_sessionstat_unittest \ |
| 21 | ipmi_commit_unittest \ |
| 22 | ipmi_read_unittest \ |
| 23 | ipmi_write_unittest \ |
| 24 | ipmi_validate_unittest \ |
| 25 | manager_unittest \ |
| 26 | manager_getsession_unittest \ |
| 27 | manager_open_unittest \ |
| 28 | manager_stat_unittest \ |
| 29 | manager_sessionstat_unittest \ |
| 30 | manager_commit_unittest \ |
| 31 | manager_close_unittest \ |
| 32 | manager_delete_unittest \ |
| 33 | manager_write_unittest \ |
| 34 | manager_read_unittest \ |
| 35 | process_unittest \ |
| 36 | crc_unittest |
| 37 | TESTS = $(check_PROGRAMS) |
| 38 | |
| 39 | ipmi_unittest_SOURCES = ipmi_unittest.cpp |
| 40 | ipmi_unittest_LDADD = $(top_builddir)/ipmi.o |
| 41 | |
| 42 | ipmi_getcount_unittest_SOURCES = ipmi_getcount_unittest.cpp |
| 43 | ipmi_getcount_unittest_LDADD = $(top_builddir)/ipmi.o |
| 44 | |
| 45 | ipmi_enumerate_unittest_SOURCES = ipmi_enumerate_unittest.cpp |
| 46 | ipmi_enumerate_unittest_LDADD = $(top_builddir)/ipmi.o |
| 47 | |
| 48 | ipmi_open_unittest_SOURCES = ipmi_open_unittest.cpp |
| 49 | ipmi_open_unittest_LDADD = $(top_builddir)/ipmi.o |
| 50 | |
| 51 | ipmi_close_unittest_SOURCES = ipmi_close_unittest.cpp |
| 52 | ipmi_close_unittest_LDADD = $(top_builddir)/ipmi.o |
| 53 | |
| 54 | ipmi_delete_unittest_SOURCES = ipmi_delete_unittest.cpp |
| 55 | ipmi_delete_unittest_LDADD = $(top_builddir)/ipmi.o |
| 56 | |
| 57 | ipmi_stat_unittest_SOURCES = ipmi_stat_unittest.cpp |
| 58 | ipmi_stat_unittest_LDADD = $(top_builddir)/ipmi.o |
| 59 | |
| 60 | ipmi_sessionstat_unittest_SOURCES = ipmi_sessionstat_unittest.cpp |
| 61 | ipmi_sessionstat_unittest_LDADD = $(top_builddir)/ipmi.o |
| 62 | |
| 63 | ipmi_commit_unittest_SOURCES = ipmi_commit_unittest.cpp |
| 64 | ipmi_commit_unittest_LDADD = $(top_builddir)/ipmi.o |
| 65 | |
| 66 | ipmi_read_unittest_SOURCES = ipmi_read_unittest.cpp |
| 67 | ipmi_read_unittest_LDADD = $(top_builddir)/ipmi.o |
| 68 | |
| 69 | ipmi_write_unittest_SOURCES = ipmi_write_unittest.cpp |
| 70 | ipmi_write_unittest_LDADD = $(top_builddir)/ipmi.o |
| 71 | |
| 72 | ipmi_validate_unittest_SOURCES = ipmi_validate_unittest.cpp |
| 73 | ipmi_validate_unittest_LDADD = $(top_builddir)/ipmi.o |
| 74 | |
| 75 | manager_unittest_SOURCES = manager_unittest.cpp |
| 76 | manager_unittest_LDADD = $(top_builddir)/manager.o |
| 77 | |
| 78 | manager_getsession_unittest_SOURCES = manager_getsession_unittest.cpp |
| 79 | manager_getsession_unittest_LDADD = $(top_builddir)/manager.o |
| 80 | |
| 81 | manager_open_unittest_SOURCES = manager_open_unittest.cpp |
| 82 | manager_open_unittest_LDADD = $(top_builddir)/manager.o |
| 83 | |
| 84 | manager_stat_unittest_SOURCES = manager_stat_unittest.cpp |
| 85 | manager_stat_unittest_LDADD = $(top_builddir)/manager.o |
| 86 | |
| 87 | manager_sessionstat_unittest_SOURCES = manager_sessionstat_unittest.cpp |
| 88 | manager_sessionstat_unittest_LDADD = $(top_builddir)/manager.o |
| 89 | |
| 90 | manager_commit_unittest_SOURCES = manager_commit_unittest.cpp |
| 91 | manager_commit_unittest_LDADD = $(top_builddir)/manager.o |
| 92 | |
| 93 | manager_close_unittest_SOURCES = manager_close_unittest.cpp |
| 94 | manager_close_unittest_LDADD = $(top_builddir)/manager.o |
| 95 | |
| 96 | manager_delete_unittest_SOURCES = manager_delete_unittest.cpp |
| 97 | manager_delete_unittest_LDADD = $(top_builddir)/manager.o |
| 98 | |
| 99 | manager_write_unittest_SOURCES = manager_write_unittest.cpp |
| 100 | manager_write_unittest_LDADD = $(top_builddir)/manager.o |
| 101 | |
| 102 | manager_read_unittest_SOURCES = manager_read_unittest.cpp |
| 103 | manager_read_unittest_LDADD = $(top_builddir)/manager.o |
| 104 | |
| 105 | process_unittest_SOURCES = process_unittest.cpp |
| 106 | process_unittest_LDADD = $(top_builddir)/process.o $(top_builddir)/ipmi.o \ |
| 107 | $(top_builddir)/crc.o |
| 108 | |
| 109 | crc_unittest_SOURCES = crc_unittest.cpp |
| 110 | crc_unittest_LDADD = $(top_builddir)/crc.o |