blob: b80b6d2fbd2b1f72395431d81276eb20d66e258c [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 = \
13 handler_unittest
14TESTS = $(check_PROGRAMS)
15
16handler_unittest_SOURCES = handler_unittest.cpp
17handler_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) \
18 $(top_builddir)/handler.o
19handler_unittest_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS)