blob: ecd0ad8106c29155b6fb924de872fce967d2a237 [file] [log] [blame]
Patrick Venture21be45a2018-11-06 12:08:52 -08001AM_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 Venturede77b302018-11-06 15:38:04 -080013 firmware_handler_unittest \
Patrick Venturedf848ee2018-11-06 15:44:00 -080014 firmware_stat_unittest \
15 firmware_canhandle_unittest
Patrick Venture21be45a2018-11-06 12:08:52 -080016
17TESTS = $(check_PROGRAMS)
18
Patrick Venturede77b302018-11-06 15:38:04 -080019firmware_handler_unittest_SOURCES = firmware_handler_unittest.cpp
20firmware_handler_unittest_LDADD = $(top_builddir)/firmware_handler.o
Patrick Venture21be45a2018-11-06 12:08:52 -080021
Patrick Venturede77b302018-11-06 15:38:04 -080022firmware_stat_unittest_SOURCES = firmware_stat_unittest.cpp
23firmware_stat_unittest_LDADD = $(top_builddir)/firmware_handler.o
Patrick Venture46637c82018-11-06 15:20:24 -080024
Patrick Venturedf848ee2018-11-06 15:44:00 -080025firmware_canhandle_unittest_SOURCES = firmware_canhandle_unittest.cpp
26firmware_canhandle_unittest_LDADD = $(top_builddir)/firmware_handler.o