blob: 350c3a81c76e9bfbb9cc8e2b9115a09f1252417f [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_starttransfer_unittest \
ipmi_flashdata_unittest \
ipmi_flashfinish_unittest \
ipmi_starthash_unittest \
ipmi_hashdata_unittest \
ipmi_hashfinish_unittest \
ipmi_validate_unittest
TESTS = $(check_PROGRAMS)
ipmi_starttransfer_unittest_SOURCES = ipmi_starttransfer_unittest.cpp
ipmi_starttransfer_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_flashdata_unittest_SOURCES = ipmi_flashdata_unittest.cpp
ipmi_flashdata_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_flashfinish_unittest_SOURCES = ipmi_flashfinish_unittest.cpp
ipmi_flashfinish_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_starthash_unittest_SOURCES = ipmi_starthash_unittest.cpp
ipmi_starthash_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_hashdata_unittest_SOURCES = ipmi_hashdata_unittest.cpp
ipmi_hashdata_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_hashfinish_unittest_SOURCES = ipmi_hashfinish_unittest.cpp
ipmi_hashfinish_unittest_LDADD = $(top_builddir)/ipmi.o
ipmi_validate_unittest_SOURCES = ipmi_validate_unittest.cpp
ipmi_validate_unittest_LDADD = $(top_builddir)/ipmi.o