On Fri, 05/16 00:26, Max Reitz wrote: > This series enables qemu-iotests to be run in a build tree outside of > the source tree.
Yes, I've always used the long command to run iotests, namely, $ (cd $SRC_PATH/tests/qemu-iotests; TEST_DIR=/tmp/qemu-iotests QEMU_PROG=~/build/last/x86_64-softmmu/qemu-system-x86_64 QEMU_IMG_PROG=~/build/last/qemu-img QEMU_IO_PROG=~/build/last/qemu-io QEMU_NBD_PROG=~/build/last/qemu-nbd ./check -qcow2 -o "" ) and I hated that. It'd be a great improvement to allow iotests to find the built binaries by itself. Thanks for working on this! Fam > > > Max Reitz (7): > iotests: Allow out-of-tree run > configure: Enable out-of-tree iotests > iotests: Add default common.env > iotests: Source common.env > iotests: Use $PYTHON for Python scripts > iotests: Drop Python version from 065's Shebang > iotests: Fix 083 for out-of-tree builds > > configure | 12 ++++ > tests/qemu-iotests/031 | 8 +-- > tests/qemu-iotests/036 | 6 +- > tests/qemu-iotests/039 | 18 +++--- > tests/qemu-iotests/054 | 2 +- > tests/qemu-iotests/060 | 20 +++---- > tests/qemu-iotests/061 | 24 ++++---- > tests/qemu-iotests/065 | 2 +- > tests/qemu-iotests/083 | 10 ++-- > tests/qemu-iotests/check | 102 > ++++++++++++++++++++++++++++++---- > tests/qemu-iotests/common | 8 +-- > tests/qemu-iotests/common.config | 2 +- > tests/qemu-iotests/common.env.default | 6 ++ > tests/qemu-iotests/common.rc | 8 +-- > tests/qemu-iotests/iotests.py | 3 +- > 15 files changed, 165 insertions(+), 66 deletions(-) > create mode 100644 tests/qemu-iotests/common.env.default > > -- > 1.9.2 > >