Fix coverage file generation
This commit is contained in:
parent
fce0ce6f85
commit
512bf1a6b2
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jun 14 21:15:28 EST 2007 Daniel Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/Makefile.am: Fix generation of coverage files by
|
||||||
|
excluding files for server protocol
|
||||||
|
|
||||||
Wed Jun 13 11:30:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
Wed Jun 13 11:30:28 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/virsh.c: patch from Saori Fukuta for messages
|
* src/virsh.c: patch from Saori Fukuta for messages
|
||||||
|
@ -24,7 +24,8 @@ libvirt_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libvirt_sym.version \
|
|||||||
-version-info @LIBVIRT_VERSION_INFO@ \
|
-version-info @LIBVIRT_VERSION_INFO@ \
|
||||||
$(COVERAGE_CFLAGS:-f%=-Wc,-f%)
|
$(COVERAGE_CFLAGS:-f%=-Wc,-f%)
|
||||||
libvirt_la_CFLAGS = $(COVERAGE_CFLAGS)
|
libvirt_la_CFLAGS = $(COVERAGE_CFLAGS)
|
||||||
libvirt_la_SOURCES = \
|
|
||||||
|
CLIENT_SOURCES = \
|
||||||
libvirt.c internal.h \
|
libvirt.c internal.h \
|
||||||
hash.c hash.h \
|
hash.c hash.h \
|
||||||
test.c test.h \
|
test.c test.h \
|
||||||
@ -39,11 +40,15 @@ libvirt_la_SOURCES = \
|
|||||||
proxy_internal.c proxy_internal.h \
|
proxy_internal.c proxy_internal.h \
|
||||||
conf.c conf.h \
|
conf.c conf.h \
|
||||||
xm_internal.c xm_internal.h \
|
xm_internal.c xm_internal.h \
|
||||||
../qemud/protocol.h ../qemud/protocol.c \
|
|
||||||
qemu_internal.c qemu_internal.h \
|
qemu_internal.c qemu_internal.h \
|
||||||
../qemud/remote_protocol.c ../qemud/remote_protocol.h \
|
|
||||||
remote_internal.c remote_internal.h
|
remote_internal.c remote_internal.h
|
||||||
|
|
||||||
|
SERVER_SOURCES = \
|
||||||
|
../qemud/protocol.h ../qemud/protocol.c \
|
||||||
|
../qemud/remote_protocol.c ../qemud/remote_protocol.h
|
||||||
|
|
||||||
|
libvirt_la_SOURCES = $(CLIENT_SOURCES) $(SERVER_SOURCES)
|
||||||
|
|
||||||
bin_PROGRAMS = virsh
|
bin_PROGRAMS = virsh
|
||||||
|
|
||||||
virsh_SOURCES = virsh.c console.c console.h
|
virsh_SOURCES = virsh.c console.c console.h
|
||||||
@ -58,7 +63,7 @@ virsh_CFLAGS = $(COVERAGE_CFLAGS)
|
|||||||
tst: tst.c
|
tst: tst.c
|
||||||
$(CC) $(CFLAGS) -I../include -o tst tst.c .libs/libvirt.a -lxml2 -lxenstore -lpthread
|
$(CC) $(CFLAGS) -I../include -o tst tst.c .libs/libvirt.a -lxml2 -lxenstore -lpthread
|
||||||
|
|
||||||
COVERAGE_FILES = $(libvirt_la_SOURCES:%.c=libvirt_la-%.cov)
|
COVERAGE_FILES = $(CLIENT_SOURCES:%.c=libvirt_la-%.cov)
|
||||||
|
|
||||||
cov: clean-cov $(COVERAGE_FILES)
|
cov: clean-cov $(COVERAGE_FILES)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user