blob: 3941c5c8d9b3ea7df859c77325df580c8cbd401e [file] [log] [blame]
Vishwanatha Subbannaed490732016-12-20 15:59:29 +05301AM_CPPFLAGS = -I$(top_srcdir)
2
3# Run all 'check' test programs
4TESTS = $(check_PROGRAMS)
5
6# # Build/add utest to test suite
7check_PROGRAMS = utest
Vishwanatha Subbanna11ca8f92017-02-27 19:33:45 +05308utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
Vishwanatha Subbannaed490732016-12-20 15:59:29 +05309utest_CXXFLAGS = $(PTHREAD_CFLAGS)
Vishwanatha Subbanna4fa92482017-03-10 14:39:20 +053010utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) $(SYSTEMD_LIBS) $(PHOSPHOR_LOGGING_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS)
George Liu2098aa62020-05-09 11:26:35 +080011utest_SOURCES = utest.cpp utest-led-json.cpp utest-serialize.cpp
12utest_LDADD = $(top_builddir)/manager.o $(top_builddir)/serialize.o