aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-15 13:06:00 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2016-07-25 13:23:17 -0500
commitfe31017f79e591463599de30b11b24835f10f18b (patch)
treef665cbd5c7c2cf9f4629d0f2ac28b390c4eaac57
parent2d2e632ad00d11867c6c5625605b1fbc022dd62f (diff)
build-sys: link tests/data
Link a common tests data directory to the build directory. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 6ffa4a83cc..61279b05f3 100755
--- a/configure
+++ b/configure
@@ -5995,6 +5995,11 @@ for rom in seabios vgabios ; do
echo "LD=$ld" >> $config_mak
done
+# set up tests data directory
+if [ ! -e tests/data ]; then
+ symlink "$source_path/tests/data" tests/data
+fi
+
# set up qemu-iotests in this build directory
iotests_common_env="tests/qemu-iotests/common.env"
iotests_check="tests/qemu-iotests/check"