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/ \ |
Jason Ling | c78bfc8 | 2020-11-05 18:58:16 -0800 | [diff] [blame] | 6 | -I$(top_srcdir)/bmc/test \ |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 7 | -I$(top_srcdir)/bmc/version-handler \ |
| 8 | $(GTEST_CFLAGS) \ |
| 9 | $(GMOCK_CFLAGS) \ |
| 10 | $(CODE_COVERAGE_CPPFLAGS) |
| 11 | AM_CXXFLAGS = \ |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 12 | $(CODE_COVERAGE_CXXFLAGS) |
| 13 | AM_LDFLAGS = \ |
| 14 | $(GTEST_LIBS) \ |
| 15 | $(GMOCK_LIBS) \ |
| 16 | -lgmock_main \ |
| 17 | $(OESDK_TESTCASE_FLAGS) \ |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 18 | $(CODE_COVERAGE_LIBS) |
| 19 | |
| 20 | # Run all 'check' test programs |
| 21 | check_PROGRAMS = \ |
Jason Ling | c78bfc8 | 2020-11-05 18:58:16 -0800 | [diff] [blame] | 22 | version_json_unittest \ |
| 23 | version_canhandle_enumerate_unittest \ |
| 24 | version_createhandler_unittest \ |
| 25 | version_open_unittest \ |
| 26 | version_close_unittest \ |
William A. Kennington III | eba0c34 | 2021-01-12 14:23:01 -0800 | [diff] [blame] | 27 | version_read_unittest \ |
| 28 | version_stat_unittest |
Jason Ling | 85e54f1 | 2020-11-05 18:47:21 -0800 | [diff] [blame] | 29 | |
| 30 | TESTS = $(check_PROGRAMS) |
| 31 | |
| 32 | version_json_unittest_SOURCES = version_json_unittest.cpp |
| 33 | version_json_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |
Jason Ling | c78bfc8 | 2020-11-05 18:58:16 -0800 | [diff] [blame] | 34 | |
| 35 | version_canhandle_enumerate_unittest_SOURCES = version_canhandle_enumerate_unittest.cpp |
| 36 | version_canhandle_enumerate_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |
| 37 | |
| 38 | version_createhandler_unittest_SOURCES = version_createhandler_unittest.cpp |
| 39 | version_createhandler_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |
| 40 | |
| 41 | version_open_unittest_SOURCES = version_open_unittest.cpp |
| 42 | version_open_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |
| 43 | |
| 44 | version_close_unittest_SOURCES = version_close_unittest.cpp |
| 45 | version_close_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |
| 46 | |
| 47 | version_read_unittest_SOURCES = version_read_unittest.cpp |
| 48 | version_read_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |
William A. Kennington III | eba0c34 | 2021-01-12 14:23:01 -0800 | [diff] [blame] | 49 | |
| 50 | version_stat_unittest_SOURCES = version_stat_unittest.cpp |
| 51 | version_stat_unittest_LDADD = $(top_builddir)/bmc/version-handler/libversionblob_common.la |