blob: 392db5c9b75dd52734dabd60b7cdafc94451c983 [file] [log] [blame]
Patrick Venture54c3b532018-08-01 11:45:49 -07001AM_CPPFLAGS = -I$(top_srcdir)/ \
2 $(GTEST_CFLAGS) \
3 $(GMOCK_CFLAGS)
4AM_CXXFLAGS = \
5 $(GTEST_MAIN_CFLAGS)
6AM_LDFLAGS = \
7 $(GMOCK_LIBS) \
8 $(GTEST_MAIN_LIBS) \
9 $(OESDK_TESTCASE_FLAGS)
10
11# Run all 'check' test programs
12check_PROGRAMS = \
Patrick Venture79e131f2018-08-01 13:34:35 -070013 ipmi_starttransfer_unittest \
Patrick Venturea53a7b32018-08-03 09:15:20 -070014 ipmi_flashdata_unittest \
Patrick Venture2c1205d2018-08-03 10:23:14 -070015 ipmi_flashfinish_unittest \
Patrick Venture8d9f7322018-08-03 10:39:13 -070016 ipmi_starthash_unittest \
Patrick Venturecfe66872018-08-03 13:32:33 -070017 ipmi_hashdata_unittest \
Patrick Venturea53a7b32018-08-03 09:15:20 -070018 ipmi_validate_unittest
Patrick Venture54c3b532018-08-01 11:45:49 -070019
20TESTS = $(check_PROGRAMS)
21
22ipmi_starttransfer_unittest_SOURCES = ipmi_starttransfer_unittest.cpp
23ipmi_starttransfer_unittest_LDADD = $(top_builddir)/ipmi.o
Patrick Venture79e131f2018-08-01 13:34:35 -070024
25ipmi_flashdata_unittest_SOURCES = ipmi_flashdata_unittest.cpp
26ipmi_flashdata_unittest_LDADD = $(top_builddir)/ipmi.o
Patrick Venturea53a7b32018-08-03 09:15:20 -070027
Patrick Venture2c1205d2018-08-03 10:23:14 -070028ipmi_flashfinish_unittest_SOURCES = ipmi_flashfinish_unittest.cpp
29ipmi_flashfinish_unittest_LDADD = $(top_builddir)/ipmi.o
30
Patrick Venture8d9f7322018-08-03 10:39:13 -070031ipmi_starthash_unittest_SOURCES = ipmi_starthash_unittest.cpp
32ipmi_starthash_unittest_LDADD = $(top_builddir)/ipmi.o
33
Patrick Venturecfe66872018-08-03 13:32:33 -070034ipmi_hashdata_unittest_SOURCES = ipmi_hashdata_unittest.cpp
35ipmi_hashdata_unittest_LDADD = $(top_builddir)/ipmi.o
36
Patrick Venturea53a7b32018-08-03 09:15:20 -070037ipmi_validate_unittest_SOURCES = ipmi_validate_unittest.cpp
38ipmi_validate_unittest_LDADD = $(top_builddir)/ipmi.o