Patrick Venture | 380832c | 2019-06-19 10:54:44 -0700 | [diff] [blame] | 1 | @VALGRIND_CHECK_RULES@ |
| 2 | |
| 3 | AM_CPPFLAGS = \ |
| 4 | -I$(top_srcdir)/ \ |
| 5 | -I$(top_srcdir)/tools/ \ |
| 6 | $(GTEST_CFLAGS) \ |
| 7 | $(GMOCK_CFLAGS) \ |
| 8 | $(CODE_COVERAGE_CPPFLAGS) |
| 9 | AM_CXXFLAGS = \ |
| 10 | $(CODE_COVERAGE_CXXFLAGS) |
| 11 | AM_LDFLAGS = \ |
| 12 | $(GTEST_LIBS) \ |
| 13 | $(GMOCK_LIBS) \ |
| 14 | -lgmock_main \ |
| 15 | $(OESDK_TESTCASE_FLAGS) \ |
| 16 | $(CODE_COVERAGE_LIBS) |
| 17 | |
| 18 | check_PROGRAMS = \ |
| 19 | tools_bt_unittest \ |
| 20 | tools_lpc_unittest \ |
Benjamin Fair | 30d09a3 | 2019-10-11 16:57:47 -0700 | [diff] [blame^] | 21 | tools_net_unittest \ |
Patrick Venture | 01123b2 | 2019-06-20 13:49:06 -0700 | [diff] [blame] | 22 | tools_updater_unittest \ |
| 23 | tools_helper_unittest |
Patrick Venture | 380832c | 2019-06-19 10:54:44 -0700 | [diff] [blame] | 24 | |
| 25 | TESTS = $(check_PROGRAMS) |
| 26 | |
| 27 | tools_bt_unittest_SOURCES = tools_bt_unittest.cpp |
| 28 | tools_bt_unittest_LDADD = $(top_builddir)/tools/libupdater.la |
| 29 | |
| 30 | tools_lpc_unittest_SOURCES = tools_lpc_unittest.cpp |
| 31 | tools_lpc_unittest_LDADD = $(top_builddir)/tools/libupdater.la |
| 32 | |
Benjamin Fair | 30d09a3 | 2019-10-11 16:57:47 -0700 | [diff] [blame^] | 33 | tools_net_unittest_SOURCES = tools_net_unittest.cpp |
| 34 | tools_net_unittest_LDADD = $(top_builddir)/tools/libupdater.la |
| 35 | |
Patrick Venture | 380832c | 2019-06-19 10:54:44 -0700 | [diff] [blame] | 36 | tools_updater_unittest_SOURCES = tools_updater_unittest.cpp |
| 37 | tools_updater_unittest_LDADD = $(top_builddir)/tools/libupdater.la |
Patrick Venture | 01123b2 | 2019-06-20 13:49:06 -0700 | [diff] [blame] | 38 | |
| 39 | tools_helper_unittest_SOURCES = tools_helper_unittest.cpp |
| 40 | tools_helper_unittest_LDADD = $(top_builddir)/tools/libupdater.la |