blob: c05654be47ea704a15a0a8909608e0dc9d40b24e [file] [log] [blame]
Patrick Venture380832c2019-06-19 10:54:44 -07001@VALGRIND_CHECK_RULES@
2
3AM_CPPFLAGS = \
4 -I$(top_srcdir)/ \
5 -I$(top_srcdir)/tools/ \
6 $(GTEST_CFLAGS) \
7 $(GMOCK_CFLAGS) \
8 $(CODE_COVERAGE_CPPFLAGS)
9AM_CXXFLAGS = \
10 $(CODE_COVERAGE_CXXFLAGS)
11AM_LDFLAGS = \
12 $(GTEST_LIBS) \
13 $(GMOCK_LIBS) \
14 -lgmock_main \
15 $(OESDK_TESTCASE_FLAGS) \
16 $(CODE_COVERAGE_LIBS)
17
18check_PROGRAMS = \
19 tools_bt_unittest \
20 tools_lpc_unittest \
Patrick Venture01123b22019-06-20 13:49:06 -070021 tools_updater_unittest \
22 tools_helper_unittest
Patrick Venture380832c2019-06-19 10:54:44 -070023
24TESTS = $(check_PROGRAMS)
25
26tools_bt_unittest_SOURCES = tools_bt_unittest.cpp
27tools_bt_unittest_LDADD = $(top_builddir)/tools/libupdater.la
28
29tools_lpc_unittest_SOURCES = tools_lpc_unittest.cpp
30tools_lpc_unittest_LDADD = $(top_builddir)/tools/libupdater.la
31
32tools_updater_unittest_SOURCES = tools_updater_unittest.cpp
33tools_updater_unittest_LDADD = $(top_builddir)/tools/libupdater.la
Patrick Venture01123b22019-06-20 13:49:06 -070034
35tools_helper_unittest_SOURCES = tools_helper_unittest.cpp
36tools_helper_unittest_LDADD = $(top_builddir)/tools/libupdater.la