Patrick Venture | 1ddb94f | 2019-03-13 16:01:35 -0700 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
| 2 | -I$(top_srcdir)/ \ |
| 3 | $(GTEST_CFLAGS) \ |
Patrick Venture | 6667a64 | 2019-03-13 16:39:30 -0700 | [diff] [blame] | 4 | $(GMOCK_CFLAGS) \ |
| 5 | $(CODE_COVERAGE_CPPFLAGS) |
| 6 | AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) |
| 7 | AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) |
Patrick Venture | 1ddb94f | 2019-03-13 16:01:35 -0700 | [diff] [blame] | 8 | AM_LDFLAGS = \ |
| 9 | $(GTEST_LIBS) \ |
| 10 | $(GMOCK_LIBS) \ |
| 11 | -lgmock_main \ |
Patrick Venture | 6667a64 | 2019-03-13 16:39:30 -0700 | [diff] [blame] | 12 | $(OESDK_TESTCASE_FLAGS) \ |
| 13 | $(CODE_COVERAGE_LIBS) |
Patrick Venture | 848b938 | 2019-03-13 15:48:23 -0700 | [diff] [blame] | 14 | |
| 15 | check_PROGRAMS = |
| 16 | TESTS = $(check_PROGRAMS) |
Patrick Venture | 1ddb94f | 2019-03-13 16:01:35 -0700 | [diff] [blame] | 17 | |
Patrick Venture | f085d91 | 2019-03-15 08:50:00 -0700 | [diff] [blame] | 18 | check_PROGRAMS += handler_unittest |
| 19 | handler_unittest_SOURCES = handler_unittest.cpp |
| 20 | handler_unittest_LDADD = $(top_builddir)/libsyscmds_common.la |
| 21 | |
Patrick Venture | 1ddb94f | 2019-03-13 16:01:35 -0700 | [diff] [blame] | 22 | check_PROGRAMS += eth_unittest |
| 23 | eth_unittest_SOURCES = eth_unittest.cpp |
| 24 | eth_unittest_LDADD = $(top_builddir)/libsyscmds_common.la |
Patrick Venture | d2037c6 | 2019-03-15 10:29:47 -0700 | [diff] [blame] | 25 | |
| 26 | check_PROGRAMS += cable_unittest |
| 27 | cable_unittest_SOURCES = cable_unittest.cpp |
| 28 | cable_unittest_LDADD = $(top_builddir)/libsyscmds_common.la |
Patrick Venture | bb90d4f | 2019-03-15 13:42:06 -0700 | [diff] [blame] | 29 | |
| 30 | check_PROGRAMS += cpld_unittest |
| 31 | cpld_unittest_SOURCES = cpld_unittest.cpp |
| 32 | cpld_unittest_LDADD = $(top_builddir)/libsyscmds_common.la |
Patrick Venture | aa37412 | 2019-03-15 15:09:10 -0700 | [diff] [blame] | 33 | |
| 34 | check_PROGRAMS += psu_unittest |
| 35 | psu_unittest_SOURCES = psu_unittest.cpp |
| 36 | psu_unittest_LDADD = $(top_builddir)/libsyscmds_common.la |
Patrick Venture | 07f8515 | 2019-03-15 21:36:56 -0700 | [diff] [blame^] | 37 | |
| 38 | check_PROGRAMS += entity_unittest |
| 39 | entity_unittest_SOURCES = entity_unittest.cpp |
| 40 | entity_unittest_LDADD = $(top_builddir)/libsyscmds_common.la |