Message ID | 20190219061111.10231-3-jcmvbkbc@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7730E1575 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 19 Feb 2019 06:19:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60EF92B2AF for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 19 Feb 2019 06:19:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 521862B31A; Tue, 19 Feb 2019 06:19:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0C2052B2AF for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 19 Feb 2019 06:19:27 +0000 (UTC) Received: from localhost ([127.0.0.1]:42408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gvykY-0002UK-9l for patchwork-qemu-devel@patchwork.kernel.org; Tue, 19 Feb 2019 01:19:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jcmvbkbc@gmail.com>) 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 <jcmvbkbc@gmail.com>) 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 <jcmvbkbc@gmail.com>) 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 <qemu-devel@nongnu.org>; Mon, 18 Feb 2019 22:11:59 -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) 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) From: Max Filippov <jcmvbkbc@gmail.com> 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: <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: Max Filippov <jcmvbkbc@gmail.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
tests/tcg/xtensa: conditionalize xtensa tests
|
expand
|
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 .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
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 <jcmvbkbc@gmail.com> --- tests/tcg/xtensa/macros.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)