[Pkg-libvirt-commits] [libvirt] 02/02: Run build-tests with libvirt-dev only

Guido Guenther agx at moszumanska.debian.org
Sat Nov 28 14:31:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to branch debian/sid
in repository libvirt.

commit 2721bee2260d27c04c8632741de2772f75f45eb4
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat Nov 28 15:30:25 2015 +0100

    Run build-tests with libvirt-dev only
    
    to make sure we have everything in the dev packages
---
 debian/tests/build-test | 2 +-
 debian/tests/control    | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/tests/build-test b/debian/tests/build-test
index b168e19..2fe92bd 100755
--- a/debian/tests/build-test
+++ b/debian/tests/build-test
@@ -3,7 +3,7 @@
 CFLAGS=$(shell pkg-config --cflags libvirt)
 LIBS=$(shell pkg-config --libs libvirt)
 
-a.out: ../../examples/dominfo/info1.c
+a.out: examples/dominfo/info1.c
 	gcc $(CFLAGS) $< $(LIBS)
 	@echo "Build test of $< succeeded"
 	@rm -f a.out
diff --git a/debian/tests/control b/debian/tests/control
index 7b74fc4..e9693af 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,4 +1,7 @@
 Tests: smoke
-  build-test
 Depends: @
 Restrictions: allow-stderr
+
+Tests: build-test
+Depends: libvirt-dev
+Restrictions: allow-stderr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list