Patrick Venture | 7a841b6 | 2018-06-13 09:39:46 -0700 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir)/ $(GTEST_CFLAGS) $(GMOCK_CFLAGS) |
| 2 | AM_CXXFLAGS = $(PTHREAD_CFLAGS) \ |
| 3 | $(GTEST_CFLAGS) \ |
| 4 | $(GMOCK_CFLAGS) \ |
| 5 | $(SDBUSPLUS_CFLAGS) \ |
| 6 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
| 7 | AM_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 Venture | fe75b19 | 2018-06-08 11:19:43 -0700 | [diff] [blame^] | 15 | check_PROGRAMS = sensor_manager_unittest |
Patrick Venture | 7a841b6 | 2018-06-13 09:39:46 -0700 | [diff] [blame] | 16 | TESTS = $(check_PROGRAMS) |
Patrick Venture | fe75b19 | 2018-06-08 11:19:43 -0700 | [diff] [blame^] | 17 | |
| 18 | # Until libconfig is mocked out or replaced, include it. |
| 19 | sensor_manager_unittest_SOURCES = sensor_manager_unittest.cpp |
| 20 | sensor_manager_unittest_LDADD = $(top_builddir)/sensors/manager.o |