Message ID | 20171213213557.26561-4-f4bug@amsat.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NfDvlWg8"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yxqsV4PQpz9s4q for <incoming@patchwork.ozlabs.org>; Thu, 14 Dec 2017 08:42:06 +1100 (AEDT) Received: from localhost ([::1]:37851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1ePEmy-0004WH-M0 for incoming@patchwork.ozlabs.org; Wed, 13 Dec 2017 16:42:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1ePEhS-0000n4-SW for qemu-devel@nongnu.org; Wed, 13 Dec 2017 16:36:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1ePEhQ-0001yv-Ve for qemu-devel@nongnu.org; Wed, 13 Dec 2017 16:36:22 -0500 Received: from mail-qk0-x243.google.com ([2607:f8b0:400d:c09::243]:34613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1ePEhQ-0001yd-Pg for qemu-devel@nongnu.org; Wed, 13 Dec 2017 16:36:20 -0500 Received: by mail-qk0-x243.google.com with SMTP id d66so3854232qkg.1 for <qemu-devel@nongnu.org>; Wed, 13 Dec 2017 13:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YHKNAGWC+knatq/zIDfXBqgMt02gM9s1u5Jf8aC8ZpU=; b=NfDvlWg8QgYTxUgrrYOBv3x41+y8a67icT5tO/bZ4lUm7ZRzLo0wZhrbk4I3DZ09hr wbJP1PMwgXbUhZ7fLPTFp3Ava3RdfOzvTlWGAVKLwMhqqr/uyE5n2FLmETU0hShtDErU scL+d2R3osHtdYog12gghDq9zYBak8I/gnU8FUdSOzvjZrDztcv3XZJn5na0lNCSPmxk H3q9tcCjOFzIm3fVpVNlPwTe12uMgfyRYQ2Asqf/RSO+GR0NFwCDxZmymhkra0jDn84J 2U05zYdUiNPHoN3el+eFtkAVVbEgySBdQQh/8h6j14PtwgFByQMTGRmaYXXmUdZRyLVf nKaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=YHKNAGWC+knatq/zIDfXBqgMt02gM9s1u5Jf8aC8ZpU=; b=uAcqzOPsnYhkwC1841ELH/D+UIQah/BLNSXwlL+0AzLNiH5/2uXEgRs7nYNOFbKdQI 99fq8nqAWa1LXcuRC6lLEX3XMwbXbig+MSIvbxkxtxJlwI+X5eZBAQ6gVUEZjG3BXcj8 03pa58dYpI+VhKlBG1WVPX2l8SzkDVSl4+K8SABAEzDveNxES/9JqcEry7g/D36rmUdY GMACYdgg7hN7FYsseFx5ObBiEPxB2LTn8v0ZfDPdDdZrg8/GoSBHQqV+ewz2dJvn9Oew NaE4p6j8L7NUtMvGWTQQypyB9yPFLI+Z7BpHuhIpQCMoxgwhxnwsKKcMAZlDc+3AbQZP 22Uw== X-Gm-Message-State: AKGB3mJA9HVcKPJbmFkcAVe80iMRXazJH4IPjOXNaZyKjrGEVYptdxpn h0jhk+YBdhiL7vdtfJFKsm8= X-Google-Smtp-Source: ACJfBotDdgqfQdxkbgAOOIapMv6C9jIPG0M+686yJgjNfJpnWG57Sf+w8uFN5xfEx/Pc/1CRgahsew== X-Received: by 10.55.17.150 with SMTP id 22mr12683045qkr.208.1513200980369; Wed, 13 Dec 2017 13:36:20 -0800 (PST) Received: from x1.local ([138.117.48.211]) by smtp.gmail.com with ESMTPSA id x23sm1617150qkb.4.2017.12.13.13.36.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Dec 2017 13:36:19 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> To: Alistair Francis <alistair.francis@xilinx.com>, "Edgar E . Iglesias" <edgar.iglesias@xilinx.com>, Cleber Rosa <crosa@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>, John Snow <jsnow@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, =?utf-8?b?THVrw6HFoSBEb2t0b3I=?= <ldoktor@redhat.com>, "Daniel P . Berrange" <berrange@redhat.com>, Eric Blake <eblake@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <famz@redhat.com> Date: Wed, 13 Dec 2017 18:35:54 -0300 Message-Id: <20171213213557.26561-4-f4bug@amsat.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171213213557.26561-1-f4bug@amsat.org> References: <20171213213557.26561-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::243 Subject: [Qemu-devel] [PATCH 3/6] qtest.py: use TMPDIR/TEMP if the TEST_DIR env var is missing X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
QTests: use Python to run complex tests
|
expand
|
diff --git a/scripts/qtest.py b/scripts/qtest.py index 78db8d02c0..733686a6fe 100644 --- a/scripts/qtest.py +++ b/scripts/qtest.py @@ -18,12 +18,13 @@ import qemu import re import unittest import logging +import tempfile qemu_prog = os.environ.get('QEMU_PROG', 'qemu') qemu_opts = os.environ.get('QEMU_OPTIONS', '').strip().split(' ') -test_dir = os.environ.get('TEST_DIR') +test_dir = os.environ.get('TEST_DIR', tempfile.gettempdir()) output_dir = os.environ.get('OUTPUT_DIR', '.') qemu_default_machine = os.environ.get('QEMU_DEFAULT_MACHINE')
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- scripts/qtest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)