Skip to content
  • Max Reitz's avatar
    iotests: Allow out-of-tree run · e8f8624d
    Max Reitz authored
    
    
    As out-of-tree builds are preferred for qemu, running the qemu-iotests
    in that out-of-tree build should be supported as well. To do so, a
    symbolic link has to be created pointing to the check script in the
    source directory. That script will check whether it has been run through
    a symlink, and if so, will assume it is run in the build tree. All
    output and temporary operations performed by iotests are then redirected
    here and, unless specified otherwise by the user, QEMU_PROG etc. will be
    set to paths appropriate for the build tree.
    
    Also, drop making every test case executable if it is not yet, as this
    would modify the source tree which is not desired for out-of-tree runs
    and should be fixed in the repository anyway.
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    e8f8624d