Gunnar Mills | 1ea62e1 | 2017-03-27 21:49:16 -0500 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
| 2 | |
| 3 | # gtest unit tests which run during a 'make check' |
| 4 | check_PROGRAMS = utest |
| 5 | |
| 6 | # Run all 'check' test programs |
| 7 | TESTS = $(check_PROGRAMS) |
| 8 | |
| 9 | # Build/add utest to test suite |
| 10 | utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) |
| 11 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS) |
| 12 | utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \ |
Gunnar Mills | f7419b5 | 2017-04-20 12:44:37 -0500 | [diff] [blame] | 13 | $(PHOSPHOR_LOGGING_LIBS) |
Gunnar Mills | 1ea62e1 | 2017-03-27 21:49:16 -0500 | [diff] [blame] | 14 | |
| 15 | utest_SOURCES = utest.cpp |