blob: fea204bf290c360a6a6d7965182e72da3bcad1b7 [file] [log] [blame]
Patrick Venture1ddb94f2019-03-13 16:01:35 -07001AM_CPPFLAGS = \
2 -I$(top_srcdir)/ \
3 $(GTEST_CFLAGS) \
Patrick Venture6667a642019-03-13 16:39:30 -07004 $(GMOCK_CFLAGS) \
5 $(CODE_COVERAGE_CPPFLAGS)
6AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
7AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
Patrick Venture1ddb94f2019-03-13 16:01:35 -07008AM_LDFLAGS = \
9 $(GTEST_LIBS) \
10 $(GMOCK_LIBS) \
11 -lgmock_main \
Patrick Venture6667a642019-03-13 16:39:30 -070012 $(OESDK_TESTCASE_FLAGS) \
13 $(CODE_COVERAGE_LIBS)
Patrick Venture848b9382019-03-13 15:48:23 -070014
15check_PROGRAMS =
16TESTS = $(check_PROGRAMS)
Patrick Venture1ddb94f2019-03-13 16:01:35 -070017
Patrick Venturef085d912019-03-15 08:50:00 -070018check_PROGRAMS += handler_unittest
19handler_unittest_SOURCES = handler_unittest.cpp
20handler_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
21
Patrick Venture1ddb94f2019-03-13 16:01:35 -070022check_PROGRAMS += eth_unittest
23eth_unittest_SOURCES = eth_unittest.cpp
24eth_unittest_LDADD = $(top_builddir)/libsyscmds_common.la