blob: 0243d441180ea4022fb316963655123b7a182fe2 [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
Patrick Ventured2037c62019-03-15 10:29:47 -070025
26check_PROGRAMS += cable_unittest
27cable_unittest_SOURCES = cable_unittest.cpp
28cable_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Venturebb90d4f2019-03-15 13:42:06 -070029
30check_PROGRAMS += cpld_unittest
31cpld_unittest_SOURCES = cpld_unittest.cpp
32cpld_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Ventureaa374122019-03-15 15:09:10 -070033
34check_PROGRAMS += psu_unittest
35psu_unittest_SOURCES = psu_unittest.cpp
36psu_unittest_LDADD = $(top_builddir)/libsyscmds_common.la
Patrick Venture07f85152019-03-15 21:36:56 -070037
38check_PROGRAMS += entity_unittest
39entity_unittest_SOURCES = entity_unittest.cpp
40entity_unittest_LDADD = $(top_builddir)/libsyscmds_common.la