* [Qemu-devel] [PATCH] qemu-iotests: make check-block.sh work on out-of-tree builds
@ 2015-12-23 10:42 Paolo Bonzini
2015-12-23 22:02 ` [Qemu-devel] [Qemu-block] " Max Reitz
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2015-12-23 10:42 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-block
Since check-block.sh, the "check" script has learnt to find the source
path. On the other hand, it expects common.env to be in the build tree
(both changes made in commit 76c7560, "configure: Enable out-of-tree
iotests", 2014-05-24). So, it is wrong to invoke "check" from the source
path like check-block.sh does. Fix it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
tests/check-block.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/check-block.sh b/tests/check-block.sh
index b9d9c6a..a37797a 100755
--- a/tests/check-block.sh
+++ b/tests/check-block.sh
@@ -9,7 +9,7 @@ if [ ! -x $QEMU_PROG ]; then
exit 1
fi
-cd $SRC_PATH/tests/qemu-iotests
+cd tests/qemu-iotests
ret=0
./check -T -nocache -raw || ret=1
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Qemu-block] [PATCH] qemu-iotests: make check-block.sh work on out-of-tree builds
2015-12-23 10:42 [Qemu-devel] [PATCH] qemu-iotests: make check-block.sh work on out-of-tree builds Paolo Bonzini
@ 2015-12-23 22:02 ` Max Reitz
0 siblings, 0 replies; 2+ messages in thread
From: Max Reitz @ 2015-12-23 22:02 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel; +Cc: qemu-block
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
On 23.12.2015 11:42, Paolo Bonzini wrote:
> Since check-block.sh, the "check" script has learnt to find the source
> path. On the other hand, it expects common.env to be in the build tree
> (both changes made in commit 76c7560, "configure: Enable out-of-tree
> iotests", 2014-05-24). So, it is wrong to invoke "check" from the source
> path like check-block.sh does. Fix it.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> tests/check-block.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Assuming that this scripts belongs to the iotests which are maintained
by Kevin (and subsequently me) (it isn't covered by MAINTAINERS):
Thanks, applied to my block tree:
https://github.com/XanClic/qemu/commits/block
Max
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-23 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23 10:42 [Qemu-devel] [PATCH] qemu-iotests: make check-block.sh work on out-of-tree builds Paolo Bonzini
2015-12-23 22:02 ` [Qemu-devel] [Qemu-block] " Max Reitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).