Unit tests update

This commit is contained in:
Markus Gans 2018-02-27 01:03:33 +01:00
parent 91f6e566f4
commit 1d6526fe1b
2 changed files with 5 additions and 5 deletions

View File

@ -2,10 +2,10 @@
# Makefile.am - The Final Cut unit tests programs
#----------------------------------------------------------------------
if CPPUNIT_TEST
AM_LDFLAGS = -L$(top_builddir)/src/.libs -lfinal $(CPPUNIT_LIBS)
AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Werror
if CPPUNIT_TEST
noinst_PROGRAMS = \
fstring_test
@ -14,9 +14,9 @@ fstring_test_SOURCES = fstring-test.cpp
TESTS = fstring_test
check_PROGRAMS = $(TESTS)
endif
test: check
endif
clean-local:
-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete

View File

@ -501,8 +501,8 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_LDFLAGS = -L$(top_builddir)/src/.libs -lfinal $(CPPUNIT_LIBS)
AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Werror
@CPPUNIT_TEST_TRUE@AM_LDFLAGS = -L$(top_builddir)/src/.libs -lfinal $(CPPUNIT_LIBS)
@CPPUNIT_TEST_TRUE@AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Werror
@CPPUNIT_TEST_TRUE@fstring_test_SOURCES = fstring-test.cpp
all: all-am
@ -969,7 +969,7 @@ uninstall-am:
uninstall-am
test: check
@CPPUNIT_TEST_TRUE@test: check
clean-local:
-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete