blob: 5b3fe6cd5988796f6bc4ed1725c1255dfaccc57c [file] [log] [blame]
Kun Yi91beea62018-11-26 15:23:14 -08001AM_CPPFLAGS = -I$(top_srcdir)/ \
2 $(GTEST_CFLAGS) \
3 $(GMOCK_CFLAGS)
4AM_CXXFLAGS = \
5 $(GTEST_MAIN_CFLAGS)
6AM_LDFLAGS = \
7 $(GMOCK_LIBS) \
8 $(GTEST_MAIN_LIBS) \
9 $(OESDK_TESTCASE_FLAGS)
10
11# Run all 'check' test programs
12check_PROGRAMS = \
Kun Yi38146a02018-12-18 21:54:26 -080013 handler_open_unittest \
Kun Yi91beea62018-11-26 15:23:14 -080014 handler_unittest
15TESTS = $(check_PROGRAMS)
16
17handler_unittest_SOURCES = handler_unittest.cpp
18handler_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \
19 $(top_builddir)/handler.o
20handler_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS)
Kun Yi38146a02018-12-18 21:54:26 -080021
22handler_open_unittest_SOURCES = handler_open_unittest.cpp
23handler_open_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \
24 $(top_builddir)/handler.o
25handler_open_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS)