blob: 7c3dbc726dddca3324118f29437c9b1d8f09dc46 [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)
George Liu616a0712021-02-18 10:50:24 +080010utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) $(SYSTEMD_LIBS) $(PHOSPHOR_LOGGING_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) $(SDEVENTPLUS_LIBS)
George Liu2098aa62020-05-09 11:26:35 +080011utest_SOURCES = utest.cpp utest-led-json.cpp utest-serialize.cpp
George Liu1c737af2020-10-16 09:07:02 +080012utest_LDADD = $(top_builddir)/manager.o $(top_builddir)/serialize.o $(top_builddir)/utils.o