blob: 738ab91f8cf3f6826122407fe7304334eeb9e283 [file] [log] [blame]
Patrick Venture7a841b62018-06-13 09:39:46 -07001AM_CPPFLAGS = -I$(top_srcdir)/ $(GTEST_CFLAGS) $(GMOCK_CFLAGS)
2AM_CXXFLAGS = $(PTHREAD_CFLAGS) \
3 $(GTEST_CFLAGS) \
4 $(GMOCK_CFLAGS) \
5 $(SDBUSPLUS_CFLAGS) \
6 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
7AM_LDFLAGS = $(GTEST_LIBS) \
8 $(PTHREAD_LIBS) \
9 $(GMOCK_LIBS) \
10 $(OESDK_TESTCASE_FLAGS) \
11 $(SDBUSPLUS_LIBS) \
12 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
13
14# Run all 'check' test programs
Patrick Venturefe75b192018-06-08 11:19:43 -070015check_PROGRAMS = sensor_manager_unittest
Patrick Venture7a841b62018-06-13 09:39:46 -070016TESTS = $(check_PROGRAMS)
Patrick Venturefe75b192018-06-08 11:19:43 -070017
18# Until libconfig is mocked out or replaced, include it.
19sensor_manager_unittest_SOURCES = sensor_manager_unittest.cpp
20sensor_manager_unittest_LDADD = $(top_builddir)/sensors/manager.o