blob: e2caf4ba648aa5a8662197f8eed01d1638e337ff [file] [log] [blame]
Gunnar Mills1ea62e12017-03-27 21:49:16 -05001AM_CPPFLAGS = -I$(top_srcdir)
2
3# gtest unit tests which run during a 'make check'
4check_PROGRAMS = utest
5
6# Run all 'check' test programs
7TESTS = $(check_PROGRAMS)
8
9# Build/add utest to test suite
10utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
11utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
12utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \
Gunnar Millsf7419b52017-04-20 12:44:37 -050013 $(PHOSPHOR_LOGGING_LIBS)
Gunnar Mills1ea62e12017-03-27 21:49:16 -050014
15utest_SOURCES = utest.cpp