From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnaZi-0003yw-Jp for qemu-devel@nongnu.org; Thu, 22 May 2014 17:31:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnaZb-0006hb-1a for qemu-devel@nongnu.org; Thu, 22 May 2014 17:30:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnaZa-0006hS-OK for qemu-devel@nongnu.org; Thu, 22 May 2014 17:30:46 -0400 From: Max Reitz Date: Thu, 22 May 2014 23:30:27 +0200 Message-Id: <1400794231-27403-4-git-send-email-mreitz@redhat.com> In-Reply-To: <1400794231-27403-1-git-send-email-mreitz@redhat.com> References: <1400794231-27403-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH v3 3/7] iotests: Add default common.env List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell , Markus Armbruster , Max Reitz , Stefan Hajnoczi Add a default common.env in case the one supposed to be emitted by configure cannot be found. Signed-off-by: Max Reitz --- tests/qemu-iotests/common.env.default | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/qemu-iotests/common.env.default diff --git a/tests/qemu-iotests/common.env.default b/tests/qemu-iotests/common.env.default new file mode 100644 index 0000000..406e1f1 --- /dev/null +++ b/tests/qemu-iotests/common.env.default @@ -0,0 +1,6 @@ +if command -v python2 > /dev/null +then + export PYTHON='python2' +else + export PYTHON='python' +fi -- 1.9.3