Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame^] | 1 | @VALGRIND_CHECK_RULES@ |
| 2 | |
| 3 | AM_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) |
| 10 | AM_CXXFLAGS = \ |
| 11 | $(SDBUSPLUS_CFLAGS) \ |
| 12 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 13 | $(CODE_COVERAGE_CXXFLAGS) |
| 14 | AM_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 |
| 24 | check_PROGRAMS = \ |
| 25 | version_json_unittest |
| 26 | |
| 27 | TESTS = $(check_PROGRAMS) |
| 28 | |
| 29 | version_json_unittest_SOURCES = version_json_unittest.cpp |
| 30 | version_json_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |