[Pkg-libvirt-commits] [libguestfs] 96/156: tests: builder: Allow test to be skipped.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:26:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 775fc60d8f7398d697ee9f17d39cb09c3d8255da
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.
(cherry picked from commit f18464995f63095d32431202fa2bedc5b60d7a88)
---
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