blob: cd2665a235099bb25456ec4345aec00f6469dc19 [file] [log] [blame]
Kun Yi2ae207c2018-06-11 16:09:46 -07001# Common flags for all binaries in this subdirectory.
2# Per-program specific flags can be specified using
3# prg_CPPFLAGS = ....
Kun Yi35b6c672018-06-11 20:44:43 -07004AM_CPPFLAGS = -I${top_srcdir} \
5 $(GTEST_CFLAGS) \
6 $(GMOCK_CFLAGS) \
7 $(SDBUSPLUS_CFLAGS) \
8 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
9
10AM_CXXFLAGS = $(PTHREAD_CFLAGS) \
11 $(GTEST_CFLAGS)
12
13AM_LDFLAGS = $(GTEST_LIBS) \
14 $(PTHREAD_LIBS) \
15 $(GMOCK_LIBS) \
16 $(OESDK_TESTCASE_FLAGS) \
17 $(SDBUSPLUS_LIBS) \
18 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
Kun Yi2ae207c2018-06-11 16:09:46 -070019
20# The list of unit test programs we are building and running.
21check_PROGRAMS = post_reporter_test
22
23# Run all 'check' test programs
24TESTS = $(check_PROGRAMS)
25
26# List sources for each test.
27post_reporter_test_SOURCES = post_reporter_test.cpp