qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: Ensure tests/qemu-iotests exists before writing common.env
@ 2014-05-14 14:26 Peter Maydell
  2014-05-14 14:32 ` Kevin Wolf
  2014-05-14 22:47 ` Max Reitz
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Maydell @ 2014-05-14 14:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Markus Armbruster, Stefan Hajnoczi, Max Reitz

Before we write common.env to the tests/qemu-iotests directory, ensure
that it exists. This fixes out-of-tree builds from clean.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
If somebody would like to review this I'll apply it to master as
a buildfix...

 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 6adfa72..c4e43ed 100755
--- a/configure
+++ b/configure
@@ -4770,6 +4770,7 @@ fi
 
 iotests_common_env="tests/qemu-iotests/common.env"
 
+mkdir -p "$(dirname "$iotests_common_env")"
 echo "# Automatically generated by configure - do not modify" > $iotests_common_env
 echo >> $iotests_common_env
 echo "PYTHON='$python'" >> $iotests_common_env
-- 
1.9.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-15  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 14:26 [Qemu-devel] [PATCH] configure: Ensure tests/qemu-iotests exists before writing common.env Peter Maydell
2014-05-14 14:32 ` Kevin Wolf
2014-05-14 14:46   ` Peter Maydell
2014-05-14 14:54     ` Kevin Wolf
2014-05-14 22:47 ` Max Reitz
2014-05-15  8:15   ` Peter Maydell

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).