From patchwork Wed Nov 13 11:59:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 179292 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9491374ilf; Wed, 13 Nov 2019 04:00:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxxXBSUXd+EdT2YTN9pjiBfGxrpKvi95VaMcZTAUVq5a/2fKFVCjao8dZ490RNFLE/rrhcS X-Received: by 2002:a50:a691:: with SMTP id e17mr3054094edc.151.1573646415893; Wed, 13 Nov 2019 04:00:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573646415; cv=none; d=google.com; s=arc-20160816; b=zQh3qa5bmzEe+MxehVRa6En9xO3Pnlw3KPVRHY7l2UyRjH/tPRZh+IfxxRPKSkfVuY BOUuH6HMLDGxXNe1oCkODj1+AY7FyUaJH261yxpKXG1YSWQQMv8GbAKDMkIo1xa3T3J9 Gc6kZGYk+1cS2mFsldVa4GWurpda3rxElHMhqQ/D7gAvO7i2rUKJrp/44gOnbX9ohbsb Q7Q1DCIa6ZXQVU6tdG8RjXltfShyMKrwSLrFKIJ28bzjN6pnYIkFqqxGCFqtoaiLaGX5 W53GfjAJMzmSO/URyCWGF+6BAppmcv1rylB6sbVHwWVAWxIdhTQenhzGvSvDU5z7qOb4 Q/CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=nyA9Rfm3P2Cacqj24bQZxFtOgORLSIreXZLe4TXhnIU=; b=rLgHqgxEmUE56KfSbOl3tJNqy8oG5EWUt967MwSt7bog1FAN1eWQDg9RtTac7Cnbm1 H0X2BPmI9/8ndrRt68GacHvIkxxBvHFXLsY5LsdrFg63y0vOaY0i0CvHBl/FIGL0XIK+ GsMBY15rKOkxmblZNXBc4aFRcV0gsngfNhmq5qpLjGGTQklpRp5hkWJ+SZiLK0ZMNwdl sKOVGeD3pLgS4C0NEqxgrfjA0PJLdohCBrP2+AMxd7OMfopN8C+Zt82qSTfmn82/UKY7 kThxPbmlzBHnuz57FiEFUXSSlLaZWFD5zKJpAN/UOJ9LK6QI6hgCKHo88HcvH0bEU/4w IMsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="qcUAjp/d"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g40si1250597edb.369.2019.11.13.04.00.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Nov 2019 04:00:15 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="qcUAjp/d"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUrJm-000500-JE for patch@linaro.org; Wed, 13 Nov 2019 07:00:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUrJV-0004zd-MV for qemu-devel@nongnu.org; Wed, 13 Nov 2019 06:59:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUrJU-0004CU-KD for qemu-devel@nongnu.org; Wed, 13 Nov 2019 06:59:57 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:40065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUrJU-0004BB-CR for qemu-devel@nongnu.org; Wed, 13 Nov 2019 06:59:56 -0500 Received: by mail-wm1-x331.google.com with SMTP id f3so1693001wmc.5 for ; Wed, 13 Nov 2019 03:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nyA9Rfm3P2Cacqj24bQZxFtOgORLSIreXZLe4TXhnIU=; b=qcUAjp/dL6/KapTqH2+MWLjDEK8bg8Eve6Ce6QtTFlnOSLLcHD5cQfqjmetgD9zA60 KgGrvcaEmnkleNHZKgikuOLP9ci2xSB3vc7ExV1PwLfCC41JK/Hz83tiYyClmCu9JWFZ ZyJKyXCdFr0EQDsLSUSwJN2rRNsB8B57OOsrKTYd4LMVlAwnqO6DqX9GJfWNTuXz6P+E P9szTeDJ1gYYUSSTwjhiG5Fzm1Azc1cwl7+JYiOLc7q28nCeAf5htKAE/gQlWxqqrpc5 QC1OxQHDodt3DKl+z2ZA0dXn3BkbHWJseh8B2VxrnuxiX1oat0NJNJa2QNdNzxy9pNlb Hz4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nyA9Rfm3P2Cacqj24bQZxFtOgORLSIreXZLe4TXhnIU=; b=shjpeJYWlYrTKFJIq+EYCFKj+knvtLfWsJvNEDecin0NNiXzlhJMiFtsEPAPCLLD7Z hmHzGTiui18zCbPu6q/o4WzJG7Z19c35BuUmW4WK54ZyCdy6CY3JdovEziONohYd3pGz ABV8SKKyXmxZOy2eODbqtEeTBP35eK6UflMyz3xe3keQlBZZnRSxD48f1NCsTLjxxGEP 3rBp8I6xfqitvGcH9Jjog0e3t2/w5BiJlsHYznp6oGf6m47XBRGHZm0yjHtMTnuI7hfO BiIdryF0DFCKckvxwF0yvpNQDvOM3v1vYs5JW9TjL+OKHz4rGXC1en1EQ3jMmzxjnm/u cX9g== X-Gm-Message-State: APjAAAXgvBh7Gg3fp8sAKm5uUPT+mkyL/M9mCI9+TL7xiWlWHOgsrLux Q7clMaO1pfbvtQkSn3SVRoe6bw== X-Received: by 2002:a1c:28d4:: with SMTP id o203mr2478473wmo.147.1573646394032; Wed, 13 Nov 2019 03:59:54 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y67sm2183975wmy.31.2019.11.13.03.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 03:59:52 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 430431FF8C; Wed, 13 Nov 2019 11:59:52 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 1/5] tests/vm: make --interactive (and therefore DEBUG=1) unconditional Date: Wed, 13 Nov 2019 11:59:48 +0000 Message-Id: <20191113115952.775-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191113115952.775-1-alex.bennee@linaro.org> References: <20191113115952.775-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Peter Maydell , berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While the concept of only dropping to ssh if a test fails is nice it is more useful for this to be unconditional. You usually just want to get the build up and running and then noodle around debugging or attempting to replicate. Cc: Peter Maydell Signed-off-by: Alex Bennée --- v2 - fix spelling --- tests/vm/basevm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Thomas Huth diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 91a9226026d..0b8c1b26576 100755 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -403,7 +403,7 @@ def main(vmcls): exitcode = 0 if vm.ssh(*cmd) != 0: exitcode = 3 - if exitcode != 0 and args.interactive: + if args.interactive: vm.ssh() if not args.snapshot: