blob: 1fe35a0872f1d515278c43a94dd625ca46f95dad [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 \
Benjamin Fair30d09a32019-10-11 16:57:47 -070021 tools_net_unittest \
Patrick Venture01123b22019-06-20 13:49:06 -070022 tools_updater_unittest \
23 tools_helper_unittest
Patrick Venture380832c2019-06-19 10:54:44 -070024
25TESTS = $(check_PROGRAMS)
26
27tools_bt_unittest_SOURCES = tools_bt_unittest.cpp
28tools_bt_unittest_LDADD = $(top_builddir)/tools/libupdater.la
29
30tools_lpc_unittest_SOURCES = tools_lpc_unittest.cpp
31tools_lpc_unittest_LDADD = $(top_builddir)/tools/libupdater.la
32
Benjamin Fair30d09a32019-10-11 16:57:47 -070033tools_net_unittest_SOURCES = tools_net_unittest.cpp
34tools_net_unittest_LDADD = $(top_builddir)/tools/libupdater.la
35
Patrick Venture380832c2019-06-19 10:54:44 -070036tools_updater_unittest_SOURCES = tools_updater_unittest.cpp
37tools_updater_unittest_LDADD = $(top_builddir)/tools/libupdater.la
Patrick Venture01123b22019-06-20 13:49:06 -070038
39tools_helper_unittest_SOURCES = tools_helper_unittest.cpp
40tools_helper_unittest_LDADD = $(top_builddir)/tools/libupdater.la