Andrew Geissler | 4cea4d2 | 2017-07-10 15:13:33 -0500 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
| 2 | check_PROGRAMS = utest |
| 3 | |
| 4 | # Run all 'check' test programs |
| 5 | TESTS = $(check_PROGRAMS) |
| 6 | |
Chris Cain | a8857c5 | 2021-01-27 11:53:05 -0600 | [diff] [blame] | 7 | utest_LDADD = \ |
| 8 | $(top_builddir)/libocc_control.la \ |
| 9 | -lstdc++fs \ |
| 10 | -lgmock \ |
| 11 | $(SDBUSPLUS_LIBS) \ |
| 12 | $(SDEVENTPLUS_LIBS) \ |
| 13 | $(FMT_LIBS) |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 14 | |
Eddie James | 774f9af | 2019-03-19 20:58:53 +0000 | [diff] [blame] | 15 | utest_SOURCES = error_files_tests.cpp \ |
| 16 | utest.cpp \ |
George Liu | 6f777cd | 2021-06-10 09:16:28 +0800 | [diff] [blame] | 17 | TestI2cOcc.cpp \ |
| 18 | occ_dbus_test.cpp |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 19 | |
| 20 | utest_CPPFLAGS = $(GTEST_CPPFLAGS) \ |
| 21 | $(AM_CPPFLAGS) |
| 22 | |
Andrew Geissler | 4cea4d2 | 2017-07-10 15:13:33 -0500 | [diff] [blame] | 23 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 24 | |
William A. Kennington III | 3c1706a | 2018-06-27 09:34:30 -0700 | [diff] [blame] | 25 | utest_LDFLAGS = -lgtest -lgmock -lgmock_main \ |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 26 | $(PTHREAD_LIBS) \ |
| 27 | $(OESDK_TESTCASE_FLAGS) |