Patrick Venture | 609fe98 | 2018-04-17 17:51:56 -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 | 5055237 | 2018-06-07 10:53:56 -0700 | [diff] [blame^] | 15 | check_PROGRAMS = hwmon_unittest fanpwm_unittest |
Patrick Venture | 609fe98 | 2018-04-17 17:51:56 -0700 | [diff] [blame] | 16 | TESTS = $(check_PROGRAMS) |
| 17 | |
| 18 | hwmon_unittest_SOURCES = hwmon_unittest.cpp |
| 19 | hwmon_unittest_LDADD = $(top_builddir)/hwmon.o |
| 20 | |
Patrick Venture | 5055237 | 2018-06-07 10:53:56 -0700 | [diff] [blame^] | 21 | fanpwm_unittest_SOURCES = fanpwm_unittest.cpp |
| 22 | fanpwm_unittest_LDADD = $(PHOSPHOR_LOGGING_LIBS) $(top_builddir)/fan_pwm.o |