Patrick Venture | 54c3b53 | 2018-08-01 11:45:49 -0700 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir)/ \ |
| 2 | $(GTEST_CFLAGS) \ |
| 3 | $(GMOCK_CFLAGS) |
| 4 | AM_CXXFLAGS = \ |
| 5 | $(GTEST_MAIN_CFLAGS) |
| 6 | AM_LDFLAGS = \ |
| 7 | $(GMOCK_LIBS) \ |
| 8 | $(GTEST_MAIN_LIBS) \ |
| 9 | $(OESDK_TESTCASE_FLAGS) |
| 10 | |
| 11 | # Run all 'check' test programs |
| 12 | check_PROGRAMS = \ |
Patrick Venture | 79e131f | 2018-08-01 13:34:35 -0700 | [diff] [blame] | 13 | ipmi_starttransfer_unittest \ |
Patrick Venture | a53a7b3 | 2018-08-03 09:15:20 -0700 | [diff] [blame] | 14 | ipmi_flashdata_unittest \ |
Patrick Venture | 2c1205d | 2018-08-03 10:23:14 -0700 | [diff] [blame] | 15 | ipmi_flashfinish_unittest \ |
Patrick Venture | 8d9f732 | 2018-08-03 10:39:13 -0700 | [diff] [blame^] | 16 | ipmi_starthash_unittest \ |
Patrick Venture | a53a7b3 | 2018-08-03 09:15:20 -0700 | [diff] [blame] | 17 | ipmi_validate_unittest |
Patrick Venture | 54c3b53 | 2018-08-01 11:45:49 -0700 | [diff] [blame] | 18 | |
| 19 | TESTS = $(check_PROGRAMS) |
| 20 | |
| 21 | ipmi_starttransfer_unittest_SOURCES = ipmi_starttransfer_unittest.cpp |
| 22 | ipmi_starttransfer_unittest_LDADD = $(top_builddir)/ipmi.o |
Patrick Venture | 79e131f | 2018-08-01 13:34:35 -0700 | [diff] [blame] | 23 | |
| 24 | ipmi_flashdata_unittest_SOURCES = ipmi_flashdata_unittest.cpp |
| 25 | ipmi_flashdata_unittest_LDADD = $(top_builddir)/ipmi.o |
Patrick Venture | a53a7b3 | 2018-08-03 09:15:20 -0700 | [diff] [blame] | 26 | |
Patrick Venture | 2c1205d | 2018-08-03 10:23:14 -0700 | [diff] [blame] | 27 | ipmi_flashfinish_unittest_SOURCES = ipmi_flashfinish_unittest.cpp |
| 28 | ipmi_flashfinish_unittest_LDADD = $(top_builddir)/ipmi.o |
| 29 | |
Patrick Venture | 8d9f732 | 2018-08-03 10:39:13 -0700 | [diff] [blame^] | 30 | ipmi_starthash_unittest_SOURCES = ipmi_starthash_unittest.cpp |
| 31 | ipmi_starthash_unittest_LDADD = $(top_builddir)/ipmi.o |
| 32 | |
Patrick Venture | a53a7b3 | 2018-08-03 09:15:20 -0700 | [diff] [blame] | 33 | ipmi_validate_unittest_SOURCES = ipmi_validate_unittest.cpp |
| 34 | ipmi_validate_unittest_LDADD = $(top_builddir)/ipmi.o |