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>
This commit is contained in:
parent
2d2e632ad0
commit
fe31017f79
5
configure
vendored
5
configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user