| Message ID | 20260520091346.1332979-1-tankutbaris.aktemur@amd.com |
|---|---|
| State | New |
| Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8F2684BB58D0 for <patchwork@sourceware.org>; Wed, 20 May 2026 09:14:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F2684BB58D0 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=F53mOhYS X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from SN4PR2101CU001.outbound.protection.outlook.com (mail-southcentralusazlp170120001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c10d::1]) by sourceware.org (Postfix) with ESMTPS id 50F9D4BB24D2 for <gdb-patches@sourceware.org>; Wed, 20 May 2026 09:14:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 50F9D4BB24D2 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=amd.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 50F9D4BB24D2 Authentication-Results: sourceware.org; arc=fail smtp.remote-ip=2a01:111:f403:c10d::1 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1779268451; cv=fail; b=NzaHjICwGZIMPU99TkrgiaFLZKC+Hi9lu4R2UuLbQwSaHgfC1nx8igjvW35+tyKMtPojvdoe6zGmi3i8CzjJ/6hfqPpy+Xs3JgiEjtr4q5MGELdghFtsFrEDO9BPfXcyPNYjFpUqa/XDycWIPZYDSOYRGqFzZo9ll/W+n+cLNkA= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1779268451; c=relaxed/simple; bh=Era3TmbfG1xYlviIeno0NffVYk041pFCjhpQzmyRnrQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=c2R7G7r54A7AvVpL6vUw04z0ygJd0jNhfnacYzyNpqkQTQ6QF/4mg5BR/KXBOLfJGJ/UOBVr8z0ESWhc19R4T3+W7zAdDfJUpJX8+Kd7ZmtENkeY8nYpnn9MRRS4gXINCc6o+ZlceJEH8hwhHQWsyeAwh4eQ2MrfeWXPgoLn8GA= ARC-Authentication-Results: i=2; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=F53mOhYS DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50F9D4BB24D2 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ksav6aA3WGGeOJXfLAK+NfqBQ63iU0P2vuLW1wb6hIvJipqi6G4X/QiH1UHp3zTDP9JPMmPaS57eFhSGxUy2ZKYJrbLbBKGKZQKZjHEP0qsnLwrRuMpow8esShKAzUg856szD9+Xnr5epLYpL3D5AjGyFrvtzYs82/tWbbl89IJGzfHUB0IKkDUBHC4LAgqPpNcwnuscWX2/ZOHZQJ2v32JbetASzs7iei0X+rH9b0qVPulBz4taHY4RvTW9MXYpoRF/9PY6+fKNxR1qcripxZke6dnXFxdHJ/km/x3sdGmjQInxZwFNVRZiSDWWX/8on9zVC8/Tu7nzgYXxwkNoaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=fM4aSBBywQXeb8ZLsKThaJ+JDMfP99L0OBTcptyyxoM=; b=IRc0Hhvzkq/LeQj9GYCLscPl+3SaorwkZ7tDrRoxJxVzIABjmYpqFp9lizG4HHuovWKiLYanRFUNhvAn/Eon+bQT8mVibnYEw023uHNin3JBlzj9SZaQZT0ds9FAWL4nGfub8hjuhg00dEC0iNoGmt3KGvfia+0H5VrGUvV4j6CY8VJ13czBVvuovyUYlwHHxuFA4HO5Byzek8KUFszngvFNJLJdhALwgNEiC321wtrYKLsaiwtasDhrrh37sk9gGEniqkjQX2UE99EAPuMWvxhdzrKC1sWs3IIZjU+657Y0EFQ7Ehj6Oatd4rh17CGMumoleS7FPijIc1Py2qXncA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=sourceware.org 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 (0) 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=fM4aSBBywQXeb8ZLsKThaJ+JDMfP99L0OBTcptyyxoM=; b=F53mOhYSG6Cb9kvqJkzNYNxjdoRnghqG8d0B3AaW5pFREGg4zqx8ZGO4KZl0uQiFvY18703skBJPRcBLUYf/PBMzr/65RRN9nnNZqzsDBmsnbZD+wAzr9i+RIdbVBOkDoT7Y7TDwVvk5fs6jJ1RatsDhFNr+rDxgzfsah6L/FHk= Received: from PH7P220CA0109.NAMP220.PROD.OUTLOOK.COM (2603:10b6:510:32d::11) by CH1PR12MB9696.namprd12.prod.outlook.com (2603:10b6:610:2b0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.48.14; Wed, 20 May 2026 09:14:06 +0000 Received: from SN1PEPF000397B4.namprd05.prod.outlook.com (2603:10b6:510:32d:cafe::a4) by PH7P220CA0109.outlook.office365.com (2603:10b6:510:32d::11) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.48.16 via Frontend Transport; Wed, 20 May 2026 09:14:06 +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=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by SN1PEPF000397B4.mail.protection.outlook.com (10.167.248.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.48.11 via Frontend Transport; Wed, 20 May 2026 09:14:05 +0000 Received: from ctr-rack32-mi300x-1.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Wed, 20 May 2026 04:14:05 -0500 From: Tankut Baris Aktemur <tankutbaris.aktemur@amd.com> To: <gdb-patches@sourceware.org> CC: <lancelot.six@amd.com> Subject: [PATCH] gdb/testsuite: fix regexp in gdb.rocm/watchpoint-at-end-of-shader.exp Date: Wed, 20 May 2026 04:13:46 -0500 Message-ID: <20260520091346.1332979-1-tankutbaris.aktemur@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb08.amd.com (10.181.42.217) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF000397B4:EE_|CH1PR12MB9696:EE_ X-MS-Office365-Filtering-Correlation-Id: d5032d51-27ab-4344-1213-08deb6502491 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|376014|36860700016|13003099007|56012099003|18002099003|3023799007|11063799006|5023799004; X-Microsoft-Antispam-Message-Info: 0up1qJuSCYmlgsllZ+P8XJ1Vb9m3ENpGoyQzUKyoWpV/1PABNekKg9P9JqdX/MoQfy38YZ2CyGZuqQZcrZeFSciAXLhGGyFOVj1Q3idUsfAlpgEf/NkCKc7B73IxQey9emx+Qb2siAwR1uo+4Ve1pLoBdBY/lhyFAlENKwYUyqimvbKQZNeFxZKJUFRPHLIdMB7dbb/vkOr0yEpF2HvnzYTID/7bgpAPNxMLS5iAKIWNmAY5tszdx/kaBUvNdZB3NtxGk384RCPsHuHr5gf4SeWX8jV7J3Df+YUSs5IT5qqMOqdM8OtNvRQnJC38F1okM02ZjAFR36tG6YezAnbNsUkx3SUUOGC3ZDVNhiclHD9xfAl1kUb5aQ21lPAzkhD3WYrV6oYEUY5tOeR3nlp0FI9a1y3qVaARBxdy+2+2uokIm3zmkRp0YLkJpLyu/oqFWFsEgPCkS5dIzP43uAj5EUhLpJboUR8nRRvi9hmVkeyVYgFhL32zQkze4HKZ953YG/YZtDA9WpuRiv4KhkPTCOxTMJOXA+vHxITy3xCUnza3+aB71d4yqcxSdCKVYcVDycTrQZ2zP8fSlRUAQPm8BCTVE1hWTV4bJSemrVRQ1DH/8ze/fSSM4fRiJm+aFbrE/U6lVV9bFLzYGNSmN6NRlalNUgdYVUL+PhNXbU7P4Pfg4qv34T3+fvpZKC0EAF+S X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(1800799024)(376014)(36860700016)(13003099007)(56012099003)(18002099003)(3023799007)(11063799006)(5023799004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WklOkq5OY+rKVx0TFPh9y5YW4mWAkAQA+HJ7reB1RyppMm2t+KaR7FJQIj/088/Ixae885oxyZY2olPFpSacLcxi7Ua5PYGL/DVGWirC/mHIMqUOZy0mJXrL3XMFpu2v54ZjGV5LCsNkJTqym9n7JUuSht2tp9dvqEQzXMA+AX86ZLdaKCKLW8CNOWHRwiW/rMKOCyyYaU7cuyVtwqbEV540k88knYZd7QZ0FTMkDITUZW5MUqdTMyOcrGQ/JReYAWp81xIJyjjwkuOP5MfmmuCpljo402J7wxQd2qh4fejaLEGgn2+V8MeRCnITLLKSgjC3nXRvL07dY1NN1P8W8cQiC1VNcUmmzk5qV0MBD1ONlpQRU2awQjItA2BhkFQYKu/SKNyzW9QK+jkOqUWO+1o5rn2nBUKgXVmEiwRc12SR+sg5PBdiwFHqDObF0cUG X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2026 09:14:05.9688 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d5032d51-27ab-4344-1213-08deb6502491 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=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF000397B4.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH1PR12MB9696 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, LOCAL_AUTHENTICATION_FAIL_ARC, LOCAL_AUTHENTICATION_FAIL_SPF, SPF_HELO_PASS, SPF_NONE, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
gdb/testsuite: fix regexp in gdb.rocm/watchpoint-at-end-of-shader.exp
|
|
Checks
| Context | Check | Description |
|---|---|---|
| linaro-tcwg-bot/tcwg_gdb_build--master-arm | fail | Patch failed to apply |
| linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 | fail | Patch failed to apply |
Commit Message
Aktemur, Baris
May 20, 2026, 9:13 a.m. UTC
The following tests fail: FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=on: continue FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=off: continue The reason is a difference in outputs seen in upstream and downstream branches. Fix the regexps to avoid the failures. --- gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Hi, Thanks for fixing this. On 20/05/2026 10:13, Tankut Baris Aktemur wrote: > The following tests fail: > > FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=on: continue > FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=off: continue > > The reason is a difference in outputs seen in upstream and downstream > branches. Fix the regexps to avoid the failures. > --- > gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp b/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp > index ff233c8b26a..ea88c1269b7 100644 > --- a/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp > +++ b/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp > @@ -71,9 +71,9 @@ proc do_test {precise_memory has_xfail} { > setup_xfail "*-*-*" > } > gdb_test "continue" \ > - [multi_line "Switching to thread $::decimal, lane 0.*" \ > + [multi_line "Switching to \[^\r\n\]+(?=\r\n)" \ Wouldn't a simple "$" work rather than the look-ahead "(?=\r\n)"? Anyway, both should be ok. Best, Lancelot. Approved-by: Lancelot Six <lancelot.six@amd.com> (amdgpu) > "" \ > - "Thread $::decimal \".*\" hit Hardware watchpoint $::decimal: -location \\*v" \ > + "Thread $::decimal \[^\r\n\]*hit Hardware watchpoint $::decimal: -location \\*v" \ > "" \ > "Old value = 64" \ > "New value = 8" \
AMD General On Wednesday, May 20, 2026 1:14 PM, Six, Lancelot wrote: > Hi, > > Thanks for fixing this. > > On 20/05/2026 10:13, Tankut Baris Aktemur wrote: > > The following tests fail: > > > > FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=on: continue > > FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=off: continue > > > > The reason is a difference in outputs seen in upstream and downstream > > branches. Fix the regexps to avoid the failures. > > --- > > gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp > b/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp > > index ff233c8b26a..ea88c1269b7 100644 > > --- a/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp > > +++ b/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp > > @@ -71,9 +71,9 @@ proc do_test {precise_memory has_xfail} { > > setup_xfail "*-*-*" > > } > > gdb_test "continue" \ > > - [multi_line "Switching to thread $::decimal, lane 0.*" \ > > + [multi_line "Switching to \[^\r\n\]+(?=\r\n)" \ > > Wouldn't a simple "$" work rather than the look-ahead "(?=\r\n)"? No, not necessarily, because the buffer has more data in it, which we want to match with the other lines. > > Anyway, both should be ok. > > Best, > Lancelot. > > Approved-by: Lancelot Six <lancelot.six@amd.com> (amdgpu) Thank you. Pushed. -Baris
diff --git a/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp b/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp index ff233c8b26a..ea88c1269b7 100644 --- a/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp +++ b/gdb/testsuite/gdb.rocm/watchpoint-at-end-of-shader.exp @@ -71,9 +71,9 @@ proc do_test {precise_memory has_xfail} { setup_xfail "*-*-*" } gdb_test "continue" \ - [multi_line "Switching to thread $::decimal, lane 0.*" \ + [multi_line "Switching to \[^\r\n\]+(?=\r\n)" \ "" \ - "Thread $::decimal \".*\" hit Hardware watchpoint $::decimal: -location \\*v" \ + "Thread $::decimal \[^\r\n\]*hit Hardware watchpoint $::decimal: -location \\*v" \ "" \ "Old value = 64" \ "New value = 8" \