From: Marc-André Lureau <marcandre.lur...@redhat.com> Link a common tests data directory to the build directory.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 8c2f90b..c79234c 100755 --- a/configure +++ b/configure @@ -6008,6 +6008,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" -- 2.7.4