Matt Spinler | 597e05c | 2017-02-28 09:59:53 -0600 | [diff] [blame^] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
| 2 | |
| 3 | # Run all 'check' test programs |
| 4 | TESTS = $(check_PROGRAMS) |
| 5 | |
| 6 | # Basic test suite for hostcontrol interfaces |
| 7 | check_PROGRAMS = utest |
| 8 | utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) \ |
| 9 | $(PHOSPHOR_LOGGING_CFLAGS) |
| 10 | |
| 11 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS) |
| 12 | utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \ |
| 13 | $(PHOSPHOR_LOGGING_LIBS) -lstdc++fs |
| 14 | |
| 15 | utest_SOURCES = utest.cpp |
| 16 | utest_LDADD = $(top_srcdir)/targeting.cpp |