Patrick Venture | 21be45a | 2018-11-06 12:08:52 -0800 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir)/ \ |
| 2 | $(GTEST_CFLAGS) \ |
| 3 | $(GMOCK_CFLAGS) |
| 4 | AM_CXXFLAGS = \ |
| 5 | $(GTEST_MAIN_CFLAGS) |
| 6 | AM_LDFLAGS = \ |
| 7 | $(GMOCK_LIBS) \ |
| 8 | $(GTEST_MAIN_LIBS) \ |
| 9 | $(OESDK_TESTCASE_FLAGS) |
| 10 | |
| 11 | # Run all 'check' test programs |
| 12 | check_PROGRAMS = \ |
Patrick Venture | de77b30 | 2018-11-06 15:38:04 -0800 | [diff] [blame] | 13 | firmware_handler_unittest \ |
Patrick Venture | df848ee | 2018-11-06 15:44:00 -0800 | [diff] [blame] | 14 | firmware_stat_unittest \ |
Patrick Venture | 72388d7 | 2018-11-07 15:06:36 -0800 | [diff] [blame] | 15 | firmware_canhandle_unittest \ |
Patrick Venture | 18235e6 | 2018-11-08 10:21:09 -0800 | [diff] [blame] | 16 | firmware_open_unittest \ |
| 17 | firmware_write_unittest |
Patrick Venture | 21be45a | 2018-11-06 12:08:52 -0800 | [diff] [blame] | 18 | |
| 19 | TESTS = $(check_PROGRAMS) |
| 20 | |
Patrick Venture | de77b30 | 2018-11-06 15:38:04 -0800 | [diff] [blame] | 21 | firmware_handler_unittest_SOURCES = firmware_handler_unittest.cpp |
| 22 | firmware_handler_unittest_LDADD = $(top_builddir)/firmware_handler.o |
Patrick Venture | 21be45a | 2018-11-06 12:08:52 -0800 | [diff] [blame] | 23 | |
Patrick Venture | de77b30 | 2018-11-06 15:38:04 -0800 | [diff] [blame] | 24 | firmware_stat_unittest_SOURCES = firmware_stat_unittest.cpp |
| 25 | firmware_stat_unittest_LDADD = $(top_builddir)/firmware_handler.o |
Patrick Venture | 46637c8 | 2018-11-06 15:20:24 -0800 | [diff] [blame] | 26 | |
Patrick Venture | df848ee | 2018-11-06 15:44:00 -0800 | [diff] [blame] | 27 | firmware_canhandle_unittest_SOURCES = firmware_canhandle_unittest.cpp |
| 28 | firmware_canhandle_unittest_LDADD = $(top_builddir)/firmware_handler.o |
Patrick Venture | 72388d7 | 2018-11-07 15:06:36 -0800 | [diff] [blame] | 29 | |
| 30 | firmware_open_unittest_SOURCES = firmware_open_unittest.cpp |
| 31 | firmware_open_unittest_LDADD = $(top_builddir)/firmware_handler.o |
Patrick Venture | 18235e6 | 2018-11-08 10:21:09 -0800 | [diff] [blame] | 32 | |
| 33 | firmware_write_unittest_SOURCES = firmware_write_unittest.cpp |
| 34 | firmware_write_unittest_LDADD = $(top_builddir)/firmware_handler.o |