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 | |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 7 | utest_LDADD = $(top_builddir)/libocc_control.la -lstdc++fs |
| 8 | |
Eddie James | 774f9af | 2019-03-19 20:58:53 +0000 | [diff] [blame] | 9 | utest_SOURCES = error_files_tests.cpp \ |
| 10 | utest.cpp \ |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 11 | TestI2cOcc.cpp |
| 12 | |
| 13 | utest_CPPFLAGS = $(GTEST_CPPFLAGS) \ |
| 14 | $(AM_CPPFLAGS) |
| 15 | |
Andrew Geissler | 4cea4d2 | 2017-07-10 15:13:33 -0500 | [diff] [blame] | 16 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 17 | |
William A. Kennington III | 3c1706a | 2018-06-27 09:34:30 -0700 | [diff] [blame] | 18 | utest_LDFLAGS = -lgtest -lgmock -lgmock_main \ |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 19 | $(PTHREAD_LIBS) \ |
| 20 | $(OESDK_TESTCASE_FLAGS) |