From patchwork Fri Jul 19 00:41:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 813360 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp538381wro; Thu, 18 Jul 2024 17:42:14 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWTeZK/iYDtqLhCEM3QT55yujaLGGT6/Brj0IlYALK4S4OX8vMLDRRZZ3R56BiHLO5J/sl7yq63ckbVGG/qVgdS X-Google-Smtp-Source: AGHT+IEHiRbHSuRFsEerxziyofXeKzrvESOBbk27rWB5fxaKfGAeNyfE+UH9vAhQfOVZvajbUltP X-Received: by 2002:a0d:c8c3:0:b0:64a:4728:ef8 with SMTP id 00721157ae682-66603bef592mr53902957b3.44.1721349733954; Thu, 18 Jul 2024 17:42:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721349733; cv=none; d=google.com; s=arc-20160816; b=NcjGVqq+YmY6qig38toj2uK+yaKqB77uOAB8VJ1smgffertajj5CI5g3/Ph3Xexgsj bf9YCVR6HdWcxzyW0dMdscJ3fWR28WRd0Rxv6Ql/Y6/Lzfn/Wvy54JZV4uaX/q8XXIu4 luk4ZkWSiIvZwWpz4qI1XR/aEeiMLa/40iAIh3tD5uGLi71jMy0jdVVXunR0Y2yVERXY /5uzSOqNJfM0ytBcePyUthE6ALXxsIq5rVDz+QjpND3gygYxg4CAFFafiOoTr7ouIjeS Xeiug1ja/OyaQ8ohO8niTbB5XPSZSEgp+68IouksH8CYrgEz4uXcwdVSI+MO9yPsF211 e2uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=mfdkg0f9WK61DhKA38BVyDibXDaU0jASfJzlIaEhlco=; fh=aHUcMQwGKWxmSC28MS2dH7RD7RklTPgDdySuvuaHWHc=; b=dMtieLLl/8IGHNzoqMCDrcgK1X5fk7JjneTzxlc1ukZEgab7YdNGVZs0/awHx42Czi liRBgIxN1g8KUNnSTMGT53W5rzXYEGP5A+Xnp48lGAvQjLOJLl3xNKxJsUO0WWjJV0ii WY/nxESEP46xXlno5ox/1Q+1v0rkmvFkOueLvnZfKn10uk3371Hi7xcY5fUNhMcnVwzH FHqG/r4QIJ5cxVu5/yhZ5dlPsx/Tyb4a+BYpUL+t32Gi7aetY6R+1299iJTUzEldb0pT 3ytTM0nOLxB8M7RRCqHbtx1FPRWYIkZyJkPsGE3eIhtY8mHDmTSn5seOEGKnH8YKEtWP 0U0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tjz31AsS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a199094610si44004185a.646.2024.07.18.17.42.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jul 2024 17:42:13 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=tjz31AsS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUbh5-0004WE-K3; Thu, 18 Jul 2024 20:41:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUbh3-0004Sk-PX for qemu-devel@nongnu.org; Thu, 18 Jul 2024 20:41:53 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUbh2-0000kP-8c for qemu-devel@nongnu.org; Thu, 18 Jul 2024 20:41:53 -0400 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-7163489149eso1129864a12.1 for ; Thu, 18 Jul 2024 17:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721349710; x=1721954510; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mfdkg0f9WK61DhKA38BVyDibXDaU0jASfJzlIaEhlco=; b=tjz31AsSyDebu/17/l5YWv7NcWQKIeijeM7QXp/C86t6d4eGvv1pJ1a2KLyqoD57Zp BN+8mAdq5p2pH3xFueDvA3DFZtzgDbbho5nRpNVoGROkWQs5Cfn76nSbMwqismPzDU4T KmHtwIb2DprKbGhsalScW3InAwjFbT5zArPzhSBqlftppHZ7cxbX77XcJhG95SkwNywS rnpf5g4wpKf1RfK9CQirXntJw49mCNxvZiJQ9UqsqIsVLr1FFmwil31NBY3TgSqxgKFC rR0zo0n3Ez4F0cipiGrmxArKnNqryZtNagLVvyjaMjcaz7PXj5Eq64QLD1vHW0vTR3dm a0bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721349710; x=1721954510; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mfdkg0f9WK61DhKA38BVyDibXDaU0jASfJzlIaEhlco=; b=O1sv4JPabuPQ0ncO/TT7IFX3empnft0KYeHpmv++YMNcrhnjCpa0Mhdm5S4Rp3WmQ4 AHvrZrz4tDt2wx2TXrad7r+jEB4ikqD/CDYSykfNx0t7eZpBnw10bdrN68AKf3/qQNy+ ACCORVAnWtwGKjEpm5IftZWpmOG4IL9D+j7y9n0XhQDukPvBgWxK1MggjQzatB6Bn0Ya hSGjjpxyxDoXi6h/5GD7UYvywBM73xpzO92SkYEICbVz1scigMnJG6X4Vpnadf7UXt9m 8dALIE63VTp7rVv9Izj++A8lD+LQNEeESIGocwC6Ir1pnPr7XM69L3+oW1uP0UcTM3VQ 4Yrg== X-Gm-Message-State: AOJu0Yyd6p68lcoM44n+PTt7SIhfVe+hU0WAndzmCCcqVQehq34xgpwn QhaEP0IDz7GMIFCpqYMTvl7v0neggqS2CRT/3mR5IG1bNW2XIfVoSfNeP9qSBLPgkSV3eRMGhwk 8Qcoqpg== X-Received: by 2002:a05:6a20:9191:b0:1be:c43c:e1cc with SMTP id adf61e73a8af0-1c3fdcc000fmr9547602637.10.1721349710123; Thu, 18 Jul 2024 17:41:50 -0700 (PDT) Received: from stoup.. ([203.56.128.103]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-79db9fc3559sm173015a12.80.2024.07.18.17.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 17:41:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: gustavo.romero@linaro.org, alex.bennee@linaro.org Subject: [PATCH] tests/tcg/aarch64: Fix test-mte.py Date: Fri, 19 Jul 2024 10:41:43 +1000 Message-ID: <20240719004143.1319260-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x530.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Python 3.12 warns: TEST gdbstub MTE support on aarch64 /home/rth/qemu/src/tests/tcg/aarch64/gdbstub/test-mte.py:21: SyntaxWarning: invalid escape sequence '\(' PATTERN_0 = "Memory tags for address 0x[0-9a-f]+ match \(0x[0-9a-f]+\)." Double up the \ to pass one through to the pattern. Signed-off-by: Richard Henderson Reviewed-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daudé --- tests/tcg/aarch64/gdbstub/test-mte.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/aarch64/gdbstub/test-mte.py b/tests/tcg/aarch64/gdbstub/test-mte.py index 2db0663c1a..66f9c25f8a 100644 --- a/tests/tcg/aarch64/gdbstub/test-mte.py +++ b/tests/tcg/aarch64/gdbstub/test-mte.py @@ -18,7 +18,7 @@ from test_gdbstub import main, report -PATTERN_0 = "Memory tags for address 0x[0-9a-f]+ match \(0x[0-9a-f]+\)." +PATTERN_0 = "Memory tags for address 0x[0-9a-f]+ match \\(0x[0-9a-f]+\\)." PATTERN_1 = ".*(0x[0-9a-f]+)"