blob: a0e291227a6f6bb308ccae032770e9292c5ee2bd [file] [log] [blame]
@VALGRIND_CHECK_RULES@
AM_CPPFLAGS = \
-I$(top_srcdir)/ \
-I$(top_srcdir)/tools/ \
-I$(top_srcdir)/bmc \
$(GTEST_CFLAGS) \
$(GMOCK_CFLAGS) \
$(CODE_COVERAGE_CPPFLAGS)
AM_CXXFLAGS = \
$(CODE_COVERAGE_CXXFLAGS)
AM_LDFLAGS = \
$(GTEST_LIBS) \
$(GMOCK_LIBS) \
-lgmock_main \
$(OESDK_TESTCASE_FLAGS) \
$(CODE_COVERAGE_LIBS)
check_PROGRAMS = \
tools_bt_unittest \
tools_lpc_unittest \
tools_updater_unittest \
tools_helper_unittest
TESTS = $(check_PROGRAMS)
tools_bt_unittest_SOURCES = tools_bt_unittest.cpp
tools_bt_unittest_LDADD = $(top_builddir)/tools/libupdater.la
tools_lpc_unittest_SOURCES = tools_lpc_unittest.cpp
tools_lpc_unittest_LDADD = $(top_builddir)/tools/libupdater.la
tools_updater_unittest_SOURCES = tools_updater_unittest.cpp
tools_updater_unittest_LDADD = $(top_builddir)/tools/libupdater.la
tools_helper_unittest_SOURCES = tools_helper_unittest.cpp
tools_helper_unittest_LDADD = $(top_builddir)/tools/libupdater.la