blob: 52aefd07bf7d1bd940bd7233927da4f6e31069e9 [file] [log] [blame]
Matt Spinler597e05c2017-02-28 09:59:53 -06001AM_CPPFLAGS = -I$(top_srcdir)
2
3# Run all 'check' test programs
4TESTS = $(check_PROGRAMS)
5
6# Basic test suite for hostcontrol interfaces
7check_PROGRAMS = utest
Matt Spinlera231ceb2017-10-04 11:26:09 -05008utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
Matt Spinler597e05c2017-02-28 09:59:53 -06009
Matt Spinlera231ceb2017-10-04 11:26:09 -050010utest_CXXFLAGS = $(PTHREAD_CFLAGS) \
11 $(PHOSPHOR_LOGGING_CFLAGS) \
12 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
13
14utest_LDFLAGS = -lgtest_main -lgtest \
15 $(PTHREAD_LIBS) \
16 $(OESDK_TESTCASE_FLAGS) \
17 $(PHOSPHOR_LOGGING_LIBS) \
18 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
19 -lstdc++fs
Matt Spinler597e05c2017-02-28 09:59:53 -060020
21utest_SOURCES = utest.cpp
Matt Spinlerb6542342017-03-28 16:37:36 -050022utest_LDADD = $(top_srcdir)/targeting.cpp $(top_srcdir)/filedescriptor.cpp