blob: 94c398d96f358a41674f354d396080d50f4fae8a [file] [log] [blame]
Jason Ling85e54f12020-11-05 18:47:21 -08001@VALGRIND_CHECK_RULES@
2
3AM_CPPFLAGS = \
4 -I$(top_srcdir)/ \
5 -I$(top_srcdir)/bmc/ \
6 -I$(top_srcdir)/bmc/version-handler \
7 $(GTEST_CFLAGS) \
8 $(GMOCK_CFLAGS) \
9 $(CODE_COVERAGE_CPPFLAGS)
10AM_CXXFLAGS = \
11 $(SDBUSPLUS_CFLAGS) \
12 $(PHOSPHOR_LOGGING_CFLAGS) \
13 $(CODE_COVERAGE_CXXFLAGS)
14AM_LDFLAGS = \
15 $(GTEST_LIBS) \
16 $(GMOCK_LIBS) \
17 -lgmock_main \
18 $(OESDK_TESTCASE_FLAGS) \
19 $(SDBUSPLUS_LIBS) \
20 $(PHOSPHOR_LOGGING_LIBS) \
21 $(CODE_COVERAGE_LIBS)
22
23# Run all 'check' test programs
24check_PROGRAMS = \
25 version_json_unittest
26
27TESTS = $(check_PROGRAMS)
28
29version_json_unittest_SOURCES = version_json_unittest.cpp
30version_json_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la