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 | c0adbc3 | 2018-12-18 22:35:29 -0800 | [diff] [blame] | 14 | handler_readwrite_unittest \ |
Kun Yi | 91beea6 | 2018-11-26 15:23:14 -0800 | [diff] [blame] | 15 | handler_unittest |
| 16 | TESTS = $(check_PROGRAMS) |
| 17 | |
| 18 | handler_unittest_SOURCES = handler_unittest.cpp |
| 19 | handler_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \ |
Kun Yi | 64dc05c | 2018-12-19 13:19:03 -0800 | [diff] [blame^] | 20 | $(top_builddir)/handler.o $(top_builddir)/binarystore.o |
Kun Yi | 91beea6 | 2018-11-26 15:23:14 -0800 | [diff] [blame] | 21 | handler_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) |
Kun Yi | 38146a0 | 2018-12-18 21:54:26 -0800 | [diff] [blame] | 22 | |
| 23 | handler_open_unittest_SOURCES = handler_open_unittest.cpp |
| 24 | handler_open_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \ |
Kun Yi | 64dc05c | 2018-12-19 13:19:03 -0800 | [diff] [blame^] | 25 | $(top_builddir)/handler.o $(top_builddir)/binarystore.o |
Kun Yi | 38146a0 | 2018-12-18 21:54:26 -0800 | [diff] [blame] | 26 | handler_open_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) |
Kun Yi | c0adbc3 | 2018-12-18 22:35:29 -0800 | [diff] [blame] | 27 | |
| 28 | handler_readwrite_unittest_SOURCES = handler_readwrite_unittest.cpp |
| 29 | handler_readwrite_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \ |
Kun Yi | 64dc05c | 2018-12-19 13:19:03 -0800 | [diff] [blame^] | 30 | $(top_builddir)/handler.o $(top_builddir)/binarystore.o |
Kun Yi | c0adbc3 | 2018-12-18 22:35:29 -0800 | [diff] [blame] | 31 | handler_readwrite_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) |