blob: 08b5a1c268c3ff0cf55da1fde3c5f4b85ef46065 [file] [log] [blame]
Patrick Ventureba32fe42019-03-19 12:50:59 -07001@VALGRIND_CHECK_RULES@
2
Patrick Venture1ddb94f2019-03-13 16:01:35 -07003AM_CPPFLAGS = \
4 -I$(top_srcdir)/ \
5 $(GTEST_CFLAGS) \
Patrick Venture6667a642019-03-13 16:39:30 -07006 $(GMOCK_CFLAGS) \
7 $(CODE_COVERAGE_CPPFLAGS)
8AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
9AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
Patrick Venture1ddb94f2019-03-13 16:01:35 -070010AM_LDFLAGS = \
11 $(GTEST_LIBS) \
12 $(GMOCK_LIBS) \
13 -lgmock_main \
Patrick Venture6667a642019-03-13 16:39:30 -070014 $(OESDK_TESTCASE_FLAGS) \
15 $(CODE_COVERAGE_LIBS)
Patrick Venture848b9382019-03-13 15:48:23 -070016
17check_PROGRAMS =
18TESTS = $(check_PROGRAMS)
Patrick Venture1ddb94f2019-03-13 16:01:35 -070019
Patrick Venturef085d912019-03-15 08:50:00 -070020check_PROGRAMS += handler_unittest
21handler_unittest_SOURCES = handler_unittest.cpp
22handler_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
23
Patrick Venture1ddb94f2019-03-13 16:01:35 -070024check_PROGRAMS += eth_unittest
25eth_unittest_SOURCES = eth_unittest.cpp
26eth_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Ventured2037c62019-03-15 10:29:47 -070027
28check_PROGRAMS += cable_unittest
29cable_unittest_SOURCES = cable_unittest.cpp
30cable_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Venturebb90d4f2019-03-15 13:42:06 -070031
32check_PROGRAMS += cpld_unittest
33cpld_unittest_SOURCES = cpld_unittest.cpp
34cpld_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Ventureaa374122019-03-15 15:09:10 -070035
36check_PROGRAMS += psu_unittest
37psu_unittest_SOURCES = psu_unittest.cpp
38psu_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Venture07f85152019-03-15 21:36:56 -070039
40check_PROGRAMS += entity_unittest
41entity_unittest_SOURCES = entity_unittest.cpp
42entity_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Venture49f23ad2019-03-16 11:59:55 -070043
44check_PROGRAMS += pcie_unittest
45pcie_unittest_SOURCES = pcie_unittest.cpp
46pcie_unittest_LDADD = $(top_builddir)/libsyscmds_common.la