mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-10 15:35:58 -06:00
build: fix autobuild failures on gcov upgrade
Last time I ran ./autobuild.sh was on F13; and upgrading to F14 exposed these leftovers due to a newer gcov than what was in the stale files, in the form of spurious messages that break 'make check': +profiling:/home/remote/eblake/libvirt-tmp/tools/virsh-console.gcda:Version mismatch - expected 405R got 404R and concluding with a bug in the autobuild.sh script itself: ./autobuild.sh: line 44: test: =: unary operator expected * autobuild.sh: avoid syntax error on failed test * tools/Makefile.am (CLEANFILES): Clean coverage files.
This commit is contained in:
parent
ed0b7073ba
commit
38afe8f5ec
@ -41,7 +41,7 @@ st=$(
|
||||
{ make check syntax-check 2>&1; echo $? >&4; } | tee "$RESULTS"
|
||||
)
|
||||
exec 3>&-
|
||||
test $st = 0
|
||||
test "$st" = 0
|
||||
test -x /usr/bin/lcov && make cov
|
||||
|
||||
rm -f *.tar.gz
|
||||
|
@ -160,5 +160,6 @@ endif # LIBVIRT_INIT_SCRIPT_RED_HAT
|
||||
|
||||
|
||||
CLEANFILES = $(bin_SCRIPTS) $(man1_MANS)
|
||||
CLEANFILES += *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda *.i *.s
|
||||
|
||||
DISTCLEANFILES = $(BUILT_SOURCES)
|
||||
|
Loading…
Reference in New Issue
Block a user