blob: 29586bfb4c03eedaa1457d975c7ef215e55d256f [file] [log] [blame]
AM_CPPFLAGS = -I$(top_srcdir)/ \
$(GTEST_CFLAGS) \
$(GMOCK_CFLAGS)
AM_CXXFLAGS = \
$(GTEST_MAIN_CFLAGS)
AM_LDFLAGS = \
$(GMOCK_LIBS) \
$(GTEST_MAIN_LIBS) \
$(OESDK_TESTCASE_FLAGS)
# Run all 'check' test programs
check_PROGRAMS = \
ipmi_unittest \
ipmi_getcount_unittest \
ipmi_enumerate_unittest \
ipmi_open_unittest \
ipmi_close_unittest \
ipmi_delete_unittest \
ipmi_stat_unittest \
ipmi_sessionstat_unittest \
ipmi_commit_unittest \
ipmi_read_unittest \
ipmi_write_unittest \
ipmi_validate_unittest \
manager_unittest \
manager_getsession_unittest \
manager_open_unittest \
manager_stat_unittest \
manager_sessionstat_unittest \
manager_commit_unittest \
manager_close_unittest \
manager_delete_unittest \
manager_write_unittest \
manager_read_unittest \
process_unittest \
crc_unittest
TESTS = $(check_PROGRAMS)
ipmi_unittest_SOURCES = ipmi_unittest.cpp
ipmi_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_getcount_unittest_SOURCES = ipmi_getcount_unittest.cpp
ipmi_getcount_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_enumerate_unittest_SOURCES = ipmi_enumerate_unittest.cpp
ipmi_enumerate_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_open_unittest_SOURCES = ipmi_open_unittest.cpp
ipmi_open_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_close_unittest_SOURCES = ipmi_close_unittest.cpp
ipmi_close_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_delete_unittest_SOURCES = ipmi_delete_unittest.cpp
ipmi_delete_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_stat_unittest_SOURCES = ipmi_stat_unittest.cpp
ipmi_stat_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_sessionstat_unittest_SOURCES = ipmi_sessionstat_unittest.cpp
ipmi_sessionstat_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_commit_unittest_SOURCES = ipmi_commit_unittest.cpp
ipmi_commit_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_read_unittest_SOURCES = ipmi_read_unittest.cpp
ipmi_read_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_write_unittest_SOURCES = ipmi_write_unittest.cpp
ipmi_write_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_validate_unittest_SOURCES = ipmi_validate_unittest.cpp
ipmi_validate_unittest_LDADD = $(top_builddir)/ipmi.o
manager_unittest_SOURCES = manager_unittest.cpp
manager_unittest_LDADD = $(top_builddir)/manager.o
manager_getsession_unittest_SOURCES = manager_getsession_unittest.cpp
manager_getsession_unittest_LDADD = $(top_builddir)/manager.o
manager_open_unittest_SOURCES = manager_open_unittest.cpp
manager_open_unittest_LDADD = $(top_builddir)/manager.o
manager_stat_unittest_SOURCES = manager_stat_unittest.cpp
manager_stat_unittest_LDADD = $(top_builddir)/manager.o
manager_sessionstat_unittest_SOURCES = manager_sessionstat_unittest.cpp
manager_sessionstat_unittest_LDADD = $(top_builddir)/manager.o
manager_commit_unittest_SOURCES = manager_commit_unittest.cpp
manager_commit_unittest_LDADD = $(top_builddir)/manager.o
manager_close_unittest_SOURCES = manager_close_unittest.cpp
manager_close_unittest_LDADD = $(top_builddir)/manager.o
manager_delete_unittest_SOURCES = manager_delete_unittest.cpp
manager_delete_unittest_LDADD = $(top_builddir)/manager.o
manager_write_unittest_SOURCES = manager_write_unittest.cpp
manager_write_unittest_LDADD = $(top_builddir)/manager.o
manager_read_unittest_SOURCES = manager_read_unittest.cpp
manager_read_unittest_LDADD = $(top_builddir)/manager.o
process_unittest_SOURCES = process_unittest.cpp
process_unittest_LDADD = $(top_builddir)/process.o $(top_builddir)/ipmi.o \
$(top_builddir)/crc.o
crc_unittest_SOURCES = crc_unittest.cpp
crc_unittest_LDADD = $(top_builddir)/crc.o