From nobody Tue Dec 16 10:48:22 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1550557210847193.15928857322433; Mon, 18 Feb 2019 22:20:10 -0800 (PST) Received: from localhost ([127.0.0.1]:42408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvyl9-0002UK-IU for importer@patchew.org; Tue, 19 Feb 2019 01:20:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvydR-0005BN-MR for qemu-devel@nongnu.org; Tue, 19 Feb 2019 01:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvydN-00071Y-1J for qemu-devel@nongnu.org; Tue, 19 Feb 2019 01:12:05 -0500 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]:41136) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvydM-00070R-D0 for qemu-devel@nongnu.org; Tue, 19 Feb 2019 01:12:00 -0500 Received: by mail-lf1-x143.google.com with SMTP id e27so14015451lfj.8 for ; Mon, 18 Feb 2019 22:11:59 -0800 (PST) Received: from octofox.hsd1.ca.comcast.net. (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id f16-v6sm4235745lji.88.2019.02.18.22.11.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 22:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JwN4UL39Yz2m59vYklIhIE96tbcHytEkIBymdURpmEM=; b=ZpBLB/69THu2zB/HyWw0ca3Qn4suLKA8MOmqzHFIePjXQNc+VZ0JY4qNRE6I8cJ6+k UTFKn2DfzqeOolew2dWJNEtFyeaObMsxVtk9g/Qwn1Unbb6RQHh9XcXVIVfPSLQUfwbv IEgQjueOkar53VbHa6QZDe8DtZxDbo8Rqbxpp4fCwkCzYehhil2lKBFQDdRladwMqJ50 /Hs9ABLdUY2OWiIR3xR7xXBSKplmktoSDWMWAsQVGWYaNglhzKtHQNAIzGqgxwXVj3WR N0WMj2z6Wnicm8xvY5GGWM4Mq8wj3Igw2kMBFvL3ey+ejRF+WAa4fOIisx3HnSuPvQQv v1oQ== 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; bh=JwN4UL39Yz2m59vYklIhIE96tbcHytEkIBymdURpmEM=; b=ncLR41cIfJAi4NCi1mycycB9rS5l9r3ySAXECO2vElI1tdleMkExkNquQtlDvLSGXS RImxMguWVxZGh5JYzf+ThzlMJGUaFwaTkw+LOebDx/itQu7RDJ3ZRCIstMbfn46ldiMa vjEQyAXTVJBA9xrMpJIGL2ZiSrEfLNCCj8qFhDL5LZW7gMgOOfmsB//9M55i5gozkfRX Msfl3evRSnDERxOlZCwFQmqiv5uZkCeh8VV7lU5z5cRS1t1xhvBtbGeaZaiPYkDMdl6C VlhF7Y4Kv3e2tLRZ8dUFwt4kOZzVtsJpz1y0BDiT58zGQh72e3WQhKWvxtB5/ejzX7uT Ha3A== X-Gm-Message-State: AHQUAuZpTVgFluKdB446DRygwdzJ4tdd8ygp9q1vWyFByQIaPFNIcQmP wRgPMonNHQiGQ8iqdCEojANPYucrJ0U= X-Google-Smtp-Source: AHgI3IazfY1veV1RiNUeJsF+rTqRoDiKfluDul9IzCTHdlCxSF4QT9fZkFbvzgaqrqxfu2Ka4thaGw== X-Received: by 2002:a19:5209:: with SMTP id m9mr15338924lfb.51.1550556717599; Mon, 18 Feb 2019 22:11:57 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Mon, 18 Feb 2019 22:10:50 -0800 Message-Id: <20190219061111.10231-3-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190219061111.10231-1-jcmvbkbc@gmail.com> References: <20190219061111.10231-1-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::143 Subject: [Qemu-devel] [PATCH 02/23] tests/tcg/xtensa: indicate failed tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" When test suite with multiple tests fails it's not obvious which test failed. Pring "failed" in every invocation of test_fail. Do printing when DEBUG preprocessor macro is defined. Signed-off-by: Max Filippov --- tests/tcg/xtensa/macros.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/tcg/xtensa/macros.inc b/tests/tcg/xtensa/macros.inc index 4ebd30ab86ab..25c7ee479e6c 100644 --- a/tests/tcg/xtensa/macros.inc +++ b/tests/tcg/xtensa/macros.inc @@ -49,7 +49,9 @@ main: .endm =20 .macro test name - //print test_\name +#ifdef DEBUG + print test_\name +#endif test_init test_\name: .global test_\name @@ -74,6 +76,9 @@ test_\name: l32i a2, a2, 0 movi a3, 1 s8i a3, a2, 0 +#ifdef DEBUG + print failed +#endif j 99f .endm =20 --=20 2.11.0