blob: 8f86df799c571d9005037cef0cfe71b56ab37667 [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 Venturea53a7b32018-08-03 09:15:20 -070016 ipmi_validate_unittest
Patrick Venture54c3b532018-08-01 11:45:49 -070017
18TESTS = $(check_PROGRAMS)
19
20ipmi_starttransfer_unittest_SOURCES = ipmi_starttransfer_unittest.cpp
21ipmi_starttransfer_unittest_LDADD = $(top_builddir)/ipmi.o
Patrick Venture79e131f2018-08-01 13:34:35 -070022
23ipmi_flashdata_unittest_SOURCES = ipmi_flashdata_unittest.cpp
24ipmi_flashdata_unittest_LDADD = $(top_builddir)/ipmi.o
Patrick Venturea53a7b32018-08-03 09:15:20 -070025
Patrick Venture2c1205d2018-08-03 10:23:14 -070026ipmi_flashfinish_unittest_SOURCES = ipmi_flashfinish_unittest.cpp
27ipmi_flashfinish_unittest_LDADD = $(top_builddir)/ipmi.o
28
Patrick Venturea53a7b32018-08-03 09:15:20 -070029ipmi_validate_unittest_SOURCES = ipmi_validate_unittest.cpp
30ipmi_validate_unittest_LDADD = $(top_builddir)/ipmi.o