2018-02-25 21:42:18 +01:00
|
|
|
#----------------------------------------------------------------------
|
2018-12-22 15:33:23 +01:00
|
|
|
# Makefile.am - FINAL CUT unit tests programs
|
2018-02-25 21:42:18 +01:00
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
2018-02-27 01:03:33 +01:00
|
|
|
if CPPUNIT_TEST
|
2018-02-25 21:42:18 +01:00
|
|
|
AM_LDFLAGS = -L$(top_builddir)/src/.libs -lfinal $(CPPUNIT_LIBS)
|
2018-12-02 14:13:52 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/include -Wall -Werror -std=c++11
|
2018-02-25 21:42:18 +01:00
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
2018-03-14 00:53:28 +01:00
|
|
|
fobject_test \
|
2018-03-18 15:03:07 +01:00
|
|
|
fmouse_test \
|
2018-07-22 23:07:49 +02:00
|
|
|
fkeyboard_test \
|
2018-10-04 00:44:21 +02:00
|
|
|
ftermdata_test \
|
2018-09-14 22:42:56 +02:00
|
|
|
ftermdetection_test \
|
2018-08-09 00:04:00 +02:00
|
|
|
ftermcapquirks_test \
|
2019-06-19 16:28:55 +02:00
|
|
|
ftermlinux_test \
|
2019-07-14 23:05:54 +02:00
|
|
|
ftermopenbsd_test \
|
2019-07-28 23:12:01 +02:00
|
|
|
ftermfreebsd_test \
|
2018-03-28 00:03:57 +02:00
|
|
|
foptimove_test \
|
2018-04-02 22:04:29 +02:00
|
|
|
foptiattr_test \
|
2019-01-30 12:17:48 +01:00
|
|
|
fcolorpair_test \
|
2020-02-16 00:01:36 +01:00
|
|
|
fstyle_test \
|
2018-03-11 19:20:36 +01:00
|
|
|
fstring_test \
|
2020-05-13 23:47:14 +02:00
|
|
|
flogger_test \
|
2019-01-16 16:00:15 +01:00
|
|
|
fsize_test \
|
2018-03-13 01:04:46 +01:00
|
|
|
fpoint_test \
|
|
|
|
frect_test
|
2018-02-25 21:42:18 +01:00
|
|
|
|
2018-03-14 00:53:28 +01:00
|
|
|
fobject_test_SOURCES = fobject-test.cpp
|
2018-03-18 15:03:07 +01:00
|
|
|
fmouse_test_SOURCES = fmouse-test.cpp
|
2018-07-22 23:07:49 +02:00
|
|
|
fkeyboard_test_SOURCES = fkeyboard-test.cpp
|
2018-10-04 00:44:21 +02:00
|
|
|
ftermdata_test_SOURCES = ftermdata-test.cpp
|
2018-09-14 22:42:56 +02:00
|
|
|
ftermdetection_test_SOURCES = ftermdetection-test.cpp
|
2018-08-09 00:04:00 +02:00
|
|
|
ftermcapquirks_test_SOURCES = ftermcapquirks-test.cpp
|
2019-06-19 16:28:55 +02:00
|
|
|
ftermlinux_test_SOURCES = ftermlinux-test.cpp
|
2019-07-14 23:05:54 +02:00
|
|
|
ftermopenbsd_test_SOURCES = ftermopenbsd-test.cpp
|
2019-07-28 23:12:01 +02:00
|
|
|
ftermfreebsd_test_SOURCES = ftermfreebsd-test.cpp
|
2018-03-28 00:03:57 +02:00
|
|
|
foptimove_test_SOURCES = foptimove-test.cpp
|
2018-04-02 22:04:29 +02:00
|
|
|
foptiattr_test_SOURCES = foptiattr-test.cpp
|
2019-01-30 12:17:48 +01:00
|
|
|
fcolorpair_test_SOURCES = fcolorpair-test.cpp
|
2020-02-16 00:01:36 +01:00
|
|
|
fstyle_test_SOURCES = fstyle-test.cpp
|
2018-02-25 21:42:18 +01:00
|
|
|
fstring_test_SOURCES = fstring-test.cpp
|
2020-05-13 23:47:14 +02:00
|
|
|
flogger_test_SOURCES = flogger-test.cpp
|
2019-01-16 16:00:15 +01:00
|
|
|
fsize_test_SOURCES = fsize-test.cpp
|
2018-03-11 19:20:36 +01:00
|
|
|
fpoint_test_SOURCES = fpoint-test.cpp
|
2018-03-13 01:04:46 +01:00
|
|
|
frect_test_SOURCES = frect-test.cpp
|
2018-02-25 21:42:18 +01:00
|
|
|
|
2018-03-14 00:53:28 +01:00
|
|
|
TESTS = fobject_test \
|
2018-03-18 15:03:07 +01:00
|
|
|
fmouse_test \
|
2018-07-22 23:07:49 +02:00
|
|
|
fkeyboard_test \
|
2018-10-04 00:44:21 +02:00
|
|
|
ftermdata_test \
|
2018-09-14 22:42:56 +02:00
|
|
|
ftermdetection_test \
|
2018-08-09 00:04:00 +02:00
|
|
|
ftermcapquirks_test \
|
2019-06-19 16:28:55 +02:00
|
|
|
ftermlinux_test \
|
2019-07-14 23:05:54 +02:00
|
|
|
ftermopenbsd_test \
|
2019-07-28 23:12:01 +02:00
|
|
|
ftermfreebsd_test \
|
2018-03-28 00:03:57 +02:00
|
|
|
foptimove_test \
|
2018-04-02 22:04:29 +02:00
|
|
|
foptiattr_test \
|
2019-01-30 12:17:48 +01:00
|
|
|
fcolorpair_test \
|
2020-02-16 00:01:36 +01:00
|
|
|
fstyle_test \
|
2018-03-14 00:53:28 +01:00
|
|
|
fstring_test \
|
2020-05-13 23:47:14 +02:00
|
|
|
flogger_test \
|
2019-01-16 16:00:15 +01:00
|
|
|
fsize_test \
|
2018-03-13 01:04:46 +01:00
|
|
|
fpoint_test \
|
|
|
|
frect_test
|
2018-02-25 21:42:18 +01:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
|
|
|
test: check
|
2018-02-27 01:03:33 +01:00
|
|
|
endif
|
2018-02-25 21:42:18 +01:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete
|