mirror of
https://github.com/clearlinux/bsdiff.git
synced 2026-08-18 20:25:54 +00:00
Cleanups for building with test coverage
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
@@ -13,6 +13,7 @@ bsdump
|
||||
bspatch
|
||||
compile
|
||||
configure
|
||||
coverage/
|
||||
depcomp
|
||||
install-sh
|
||||
libbsdiff.la
|
||||
@@ -21,6 +22,8 @@ ltmain.sh
|
||||
m4/
|
||||
missing
|
||||
src/.dirstamp
|
||||
src/*.gcda
|
||||
src/*.gcno
|
||||
stamp-h1
|
||||
bsdiff-*.tar.xz
|
||||
test/*.diff
|
||||
|
||||
+10
-3
@@ -28,11 +28,15 @@ EXTRA_DIST = \
|
||||
AUTOMAKE_OPTIONS = color-tests parallel-tests
|
||||
|
||||
if COVERAGE
|
||||
coverage:
|
||||
AM_CFLAGS += --coverage
|
||||
|
||||
coverage: coverage-clean
|
||||
mkdir -p coverage
|
||||
lcov --compat-libtool --directory . --capture --output-file coverage/report
|
||||
genhtml -o coverage/ coverage/report
|
||||
AM_CFLAGS += --coverage
|
||||
|
||||
coverage-clean:
|
||||
rm -rf coverage
|
||||
endif
|
||||
|
||||
bin_PROGRAMS = \
|
||||
@@ -98,7 +102,10 @@ distclean-local:
|
||||
install-exec-hook:
|
||||
perl findstatic.pl */*.o | grep -v Checking ||:
|
||||
|
||||
check_PROGRAMS =
|
||||
TEST_EXTENSIONS = .sh
|
||||
TESTS = $(dist_check_SCRIPTS)
|
||||
dist_check_SCRIPTS = \
|
||||
test/run.sh
|
||||
|
||||
release:
|
||||
@git rev-parse v$(PACKAGE_VERSION) &> /dev/null; \
|
||||
|
||||
Reference in New Issue
Block a user