Kun Yi | 91beea6 | 2018-11-26 15:23:14 -0800 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir)/ \ |
| 2 | $(GTEST_CFLAGS) \ |
| 3 | $(GMOCK_CFLAGS) |
| 4 | AM_CXXFLAGS = \ |
| 5 | $(GTEST_MAIN_CFLAGS) |
| 6 | AM_LDFLAGS = \ |
| 7 | $(GMOCK_LIBS) \ |
| 8 | $(GTEST_MAIN_LIBS) \ |
| 9 | $(OESDK_TESTCASE_FLAGS) |
| 10 | |
| 11 | # Run all 'check' test programs |
| 12 | check_PROGRAMS = \ |
Kun Yi | 38146a0 | 2018-12-18 21:54:26 -0800 | [diff] [blame^] | 13 | handler_open_unittest \ |
Kun Yi | 91beea6 | 2018-11-26 15:23:14 -0800 | [diff] [blame] | 14 | handler_unittest |
| 15 | TESTS = $(check_PROGRAMS) |
| 16 | |
| 17 | handler_unittest_SOURCES = handler_unittest.cpp |
| 18 | handler_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \ |
| 19 | $(top_builddir)/handler.o |
| 20 | handler_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) |
Kun Yi | 38146a0 | 2018-12-18 21:54:26 -0800 | [diff] [blame^] | 21 | |
| 22 | handler_open_unittest_SOURCES = handler_open_unittest.cpp |
| 23 | handler_open_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \ |
| 24 | $(top_builddir)/handler.o |
| 25 | handler_open_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) |