blob: 282a8248c88cd1235f5b2bbf34ab121d961f618c [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 Venturea53a7b32018-08-03 09:15:20 -070017 ipmi_validate_unittest
Patrick Venture54c3b532018-08-01 11:45:49 -070018
19TESTS = $(check_PROGRAMS)
20
21ipmi_starttransfer_unittest_SOURCES = ipmi_starttransfer_unittest.cpp
22ipmi_starttransfer_unittest_LDADD = $(top_builddir)/ipmi.o
Patrick Venture79e131f2018-08-01 13:34:35 -070023
24ipmi_flashdata_unittest_SOURCES = ipmi_flashdata_unittest.cpp
25ipmi_flashdata_unittest_LDADD = $(top_builddir)/ipmi.o
Patrick Venturea53a7b32018-08-03 09:15:20 -070026
Patrick Venture2c1205d2018-08-03 10:23:14 -070027ipmi_flashfinish_unittest_SOURCES = ipmi_flashfinish_unittest.cpp
28ipmi_flashfinish_unittest_LDADD = $(top_builddir)/ipmi.o
29
Patrick Venture8d9f7322018-08-03 10:39:13 -070030ipmi_starthash_unittest_SOURCES = ipmi_starthash_unittest.cpp
31ipmi_starthash_unittest_LDADD = $(top_builddir)/ipmi.o
32
Patrick Venturea53a7b32018-08-03 09:15:20 -070033ipmi_validate_unittest_SOURCES = ipmi_validate_unittest.cpp
34ipmi_validate_unittest_LDADD = $(top_builddir)/ipmi.o