[Pkg-libvirt-commits] [libguestfs] 37/266: tests: builder: Allow test to be skipped.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:38 UTC 2014


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

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit f18464995f63095d32431202fa2bedc5b60d7a88
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jul 25 16:06:46 2014 +0100

    tests: builder: Allow test to be skipped.
---
 builder/test-virt-builder.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/builder/test-virt-builder.sh b/builder/test-virt-builder.sh
index bbf6e97..7e9e854 100755
--- a/builder/test-virt-builder.sh
+++ b/builder/test-virt-builder.sh
@@ -24,6 +24,11 @@ abs_builddir=$(pwd)
 export XDG_CONFIG_HOME=
 export XDG_CONFIG_DIRS="$abs_builddir/test-config"
 
+if [ -n "$SKIP_TEST_VIRT_BUILDER_SH" ]; then
+    echo "$0: skipping test because environment variable is set."
+    exit 77
+fi
+
 if [ ! -f fedora.xz ]; then
     echo "$0: test skipped because there is no fedora.xz in the build directory"
     exit 77

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



More information about the Pkg-libvirt-commits mailing list