From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81B98C433EF for ; Fri, 15 Jul 2022 07:59:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 483BF805DA; Fri, 15 Jul 2022 09:59:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="srAs2bj1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 01E2C80CF3; Fri, 15 Jul 2022 09:59:33 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 50888803C7 for ; Fri, 15 Jul 2022 09:59:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=michal.simek@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g38k5W7wmFkOvdLL22ioOUk/TrIx1cb0AoDP5b3UWg7YYZHi/2cN8BZQ1PQzqUzvKxg31bBFD7LzLiwdwI52mmw/JkKHA9m1UZYFQvfskPUIcXDkXqJIrGhHaA+W79peZZ2BduAEfJat9+k8s0DJvwC/4GejdcYQTFtKXEcIjCSyA/qcKvBZmLxQs9r7CDPGiW6ns4R+tcC6q2PKPpUn3JrQ/W+m/59+EqCL3/1YQGpC4wvGu9G52+hmSOT5boFEa4+wJQ6tGgOsL6yalEk2qj/QgfHehQdrbNYa/d0M2rlsqK1yAXuiccHCmRgaCsWkq9nrWc/U2jOipDmxxzbMkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JAS9DIu7UcugrzyffSN3RevpszZHcYV6W6fMJpRiLPk=; b=Zyi5sGkpgm+7vcuQLMrMrNBY0z/5b2z3OMmtC+73pkGc1vSMzLZfhFxHLMvEfe+Khz8p38LrAc5lFhQCdVws4Jc8FCRK8Rtp/A0Gz/+NobbQP8RNxvSRgS/Ou9BLL71Zb/LMm7VNmJfJDHoilfn+o6vJGfusTGaGK/aPLQLugVnbgEeu6bDmMINsM3kriihhvJdR9cwrr2vKS8o02U6Dp2ZCOPwdAXfh8LYlHFzaMhrq4VLivdeZGuHKcQhGk2XkXqgJBLSOZjtKorYtlm+pHpBmwkYtBO66vzdQe5q51SKWv6g6LgpRZKrBXoDWJbFvIgI1XaODKWR9yn07iMGi0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JAS9DIu7UcugrzyffSN3RevpszZHcYV6W6fMJpRiLPk=; b=srAs2bj13K9K4DBlJxpN8TaqrrgOymLrXtIHDM7ySO/E1Y/jXS7LgOG9G5gHsBce0+uJ2f0EYNgm24I+RJjO6xhGZIsRv1+rK+dcvU0m24xSVBH+hr/Krq4m6gnAqcn9tiK7w4i6EUuOs0fRee1qMYauSWpCr3PRPBawzlDIXj8= Received: from MW4PR04CA0342.namprd04.prod.outlook.com (2603:10b6:303:8a::17) by BN6PR1201MB0004.namprd12.prod.outlook.com (2603:10b6:404:ac::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12; Fri, 15 Jul 2022 07:59:26 +0000 Received: from CO1NAM11FT014.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8a:cafe::a5) by MW4PR04CA0342.outlook.office365.com (2603:10b6:303:8a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.19 via Frontend Transport; Fri, 15 Jul 2022 07:59:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT014.mail.protection.outlook.com (10.13.175.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5438.12 via Frontend Transport; Fri, 15 Jul 2022 07:59:25 +0000 Received: from [10.254.241.52] (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 15 Jul 2022 02:59:23 -0500 Message-ID: <473f5a4f-acfa-d6cf-1db8-75ee8d58d655@amd.com> Date: Fri, 15 Jul 2022 09:59:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] test/py: Run simple dm commands without checking Content-Language: en-US From: Michal Simek To: , References: In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c70f254-74e2-4d2c-43d3-08da6637ef6e X-MS-TrafficTypeDiagnostic: BN6PR1201MB0004:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: URIy4DFfirHla/2Fxotl4geNSSfH5Ro3Ukv0+osWue1OwDbhzXrfRTWQ5nBKp9Bn+LijojsTy1gPYlYLyDkioI4HRJEGq/pra1+NgB8fFZimiSpfEiZuHjxHoqM8vMDKEBoYomzvxaK8BnbjIUVBVQL8BZ9Q/OPHjcqcn+10j/Rc1WtocHt58BO+VvyYvNjhaj3vMjWjjbw/w+0xUX+reNLPNByELBt9a7puHlFlk8+smZu6ka6zwc5ONNnNtU3zqOy/aoJwjbbWWsHyjLnMfVp025kcdkdrqnk2RmO/DKq30yK3YdxBNYnQ1fZRY4qblCPNlle1OwWSRpN9sXJV1Wwt/CtX+VVbQS+5ytHEfY6AjK0eUYL9RqKpfP0rMmeDOppb2UOHqfYz4yiev6jVVZW3w1r9gJLSoYfQXZrD0BwvcTwZpKX3YbsAM5eatqMWEbl8ayh6Ssl+DJqmgylba0mKNB21spZr1A5qNHHkfleOKrzxn5tGNDM2JUphg7Jg7H2wLwIz9WcjfLgPfqkg+qkqgl2TzMr9+aDx2GT8HRyJpY1CBJN2CJ0tdElYBMqtVcxSJr26q0sorB3tQS19xIQGTnv2AhWGTam3d2u30h4d8fpHedcYc4jmXUqwHwUanFc1kHaP7VPWSKizHELrbjOY3lb+6DDnrgC2GGV1fHFsRnQDbH532ztuAmT+UllCEhXGY1Y80mbc7V1Oh274qgSWkQ20I5qNTnSdqSFHHmJPzLePXcJCdBuSDE4obv4O0PB3aGGR5+EeaTqagCDnzGz5X+cGQvAucfLVr8ZA6IIauCCWVGMRUrP25CTPd+oiz2epS4YIotBhKB/n2mq5FbLWVrb6A4IljJltfQzkc58+AkwZoxaBnjqk6EKrHqWQ X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(136003)(39860400002)(396003)(40470700004)(46966006)(36840700001)(82740400003)(2906002)(356005)(5660300002)(81166007)(40460700003)(36860700001)(8936002)(86362001)(31696002)(44832011)(40480700001)(82310400005)(110136005)(70206006)(31686004)(70586007)(26005)(41300700001)(53546011)(16576012)(478600001)(316002)(47076005)(336012)(36756003)(426003)(186003)(8676002)(2616005)(16526019)(43740500002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2022 07:59:25.0686 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c70f254-74e2-4d2c-43d3-08da6637ef6e X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT014.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB0004 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 7/7/22 12:59, Michal Simek wrote: > From: Michal Simek > > Just to make sure that dm commands can operate. > This was the problem on Microblaze in past without fixing manual > relocation. > > Signed-off-by: Michal Simek > Signed-off-by: Michal Simek > --- > > test/py/tests/test_dm.py | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/test/py/tests/test_dm.py b/test/py/tests/test_dm.py > index 97203b536e17..ea93061fdfa8 100644 > --- a/test/py/tests/test_dm.py > +++ b/test/py/tests/test_dm.py > @@ -33,3 +33,11 @@ def test_dm_static(u_boot_console): > response = u_boot_console.run_command('dm drivers') > for driver in drivers: > assert driver in response > + > +@pytest.mark.buildconfigspec("cmd_dm") > +def test_dm_uclass(u_boot_console): > + response = u_boot_console.run_command("dm uclass") > + > +@pytest.mark.buildconfigspec("cmd_dm") > +def test_dm_devres(u_boot_console): > + response = u_boot_console.run_command("dm devres") Applied. M