blob: 7ea9cd6fabf80557dd4151aee982dd32449d7a6b [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 \
Patrick Venture72388d72018-11-07 15:06:36 -080015 firmware_canhandle_unittest \
16 firmware_open_unittest
Patrick Venture21be45a2018-11-06 12:08:52 -080017
18TESTS = $(check_PROGRAMS)
19
Patrick Venturede77b302018-11-06 15:38:04 -080020firmware_handler_unittest_SOURCES = firmware_handler_unittest.cpp
21firmware_handler_unittest_LDADD = $(top_builddir)/firmware_handler.o
Patrick Venture21be45a2018-11-06 12:08:52 -080022
Patrick Venturede77b302018-11-06 15:38:04 -080023firmware_stat_unittest_SOURCES = firmware_stat_unittest.cpp
24firmware_stat_unittest_LDADD = $(top_builddir)/firmware_handler.o
Patrick Venture46637c82018-11-06 15:20:24 -080025
Patrick Venturedf848ee2018-11-06 15:44:00 -080026firmware_canhandle_unittest_SOURCES = firmware_canhandle_unittest.cpp
27firmware_canhandle_unittest_LDADD = $(top_builddir)/firmware_handler.o
Patrick Venture72388d72018-11-07 15:06:36 -080028
29firmware_open_unittest_SOURCES = firmware_open_unittest.cpp
30firmware_open_unittest_LDADD = $(top_builddir)/firmware_handler.o