[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 3/6] iotests: Source common.env
From: |
Max Reitz |
Subject: |
[Qemu-devel] [PATCH v4 3/6] iotests: Source common.env |
Date: |
Sat, 24 May 2014 23:24:57 +0200 |
Source common.env in the iotests' check script.
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/check | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
index 69f328b..992b91e 100755
--- a/tests/qemu-iotests/check
+++ b/tests/qemu-iotests/check
@@ -103,6 +103,12 @@ then
export QEMU_NBD_PROG="$build_root/qemu-nbd"
fi
+# we need common.env
+if ! . "$build_iotests/common.env"
+then
+ _init_error "failed to source common.env (make sure the qemu-iotests are
run from tests/qemu-iotests in the build tree)"
+fi
+
# we need common.config
if ! . "$source_iotests/common.config"
then
--
1.9.3
- [Qemu-devel] [PATCH v4 0/6] iotests: Allow out-of-tree run, Max Reitz, 2014/05/24
- [Qemu-devel] [PATCH v4 1/6] iotests: Allow out-of-tree run, Max Reitz, 2014/05/24
- [Qemu-devel] [PATCH v4 4/6] iotests: Use $PYTHON for Python scripts, Max Reitz, 2014/05/24
- [Qemu-devel] [PATCH v4 3/6] iotests: Source common.env,
Max Reitz <=
- [Qemu-devel] [PATCH v4 2/6] configure: Enable out-of-tree iotests, Max Reitz, 2014/05/24
- [Qemu-devel] [PATCH v4 5/6] iotests: Drop Python version from 065's Shebang, Max Reitz, 2014/05/24
- [Qemu-devel] [PATCH v4 6/6] iotests: Fix 083 for out-of-tree builds, Max Reitz, 2014/05/24
- Re: [Qemu-devel] [PATCH v4 0/6] iotests: Allow out-of-tree run, Max Reitz, 2014/05/24