[pushed,2/2,gdb/testsuite] Fix gdb.base/reset-catchpoint-cond.exp with --with-expat=no
Message ID | 20241203155403.17907-2-tdevries@suse.de |
---|---|
State | Committed |
Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5641E3858C52 for <patchwork@sourceware.org>; Tue, 3 Dec 2024 15:54:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5641E3858C52 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=RDKh6sJ3; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=PcNQxcfp; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=RDKh6sJ3; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=PcNQxcfp X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id 8233C3858C39 for <gdb-patches@sourceware.org>; Tue, 3 Dec 2024 15:52:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8233C3858C39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8233C3858C39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733241169; cv=none; b=IlHG2ImoG5rEcEaaZBK99QIsMdN12Qo8H0Bnh1trhbdMECgy8jRPBbLuJ89Zx/vZuA4EpAaDlM6RAPa6lyx/3FwMYxcQ1GvFaebd7xZztaTcdsAHk+l7jPIjIFGGzlc4Id0acep4Xh4fOhRxwQOQziUGC0Vep/8cusA+q4XfhDU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733241169; c=relaxed/simple; bh=Nb0Fhad/O5aJ7EXDpHp4e/MeOobmAEMhcgIxlYMr+Oo=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-Id:MIME-Version; b=at6NBCR+CaECsCUfpn0NvKY4YeS/ICcMUxXyaY4i3mfs5e9R8je7ApXxgW2K5v5tuc6CIGr1weisYKtjnVtgngMqPegjM6Nvo8QiP+0FWxZvICpe4VU4TX4O3kJg4AFiD9QInpmzmdIGUR0PoNRDdKRhs0CLFzwRGqA4icfudtI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8233C3858C39 Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 97D2A21161 for <gdb-patches@sourceware.org>; Tue, 3 Dec 2024 15:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1733241168; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ad9Pzt2/OcE8jq8EGSBbehUZzFj5ysy7l8xso2zBoPU=; b=RDKh6sJ3ESZalX/UZZWLz+djTwl5iO6G3R4ny4P51MeDKIgYBQyhTB1J8TKLtDTwVwxQaj HBbOg+sKlfryLKNJAJG3IxHvXMFKjdHMvlCrwdsMgpccu9R7RHyDa0qoqX3/+hT/Kl1G6E /NdxBOnYlXDrhUpB6STl/BVq9+6BIio= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1733241168; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ad9Pzt2/OcE8jq8EGSBbehUZzFj5ysy7l8xso2zBoPU=; b=PcNQxcfpk1/YRwLCcRcc2DIFRS4sEy3WIaJ9N42f5m72oqomKRiCEFJjJu2IUysptga72n aZ9/JoEWwxVoh3DQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1733241168; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ad9Pzt2/OcE8jq8EGSBbehUZzFj5ysy7l8xso2zBoPU=; b=RDKh6sJ3ESZalX/UZZWLz+djTwl5iO6G3R4ny4P51MeDKIgYBQyhTB1J8TKLtDTwVwxQaj HBbOg+sKlfryLKNJAJG3IxHvXMFKjdHMvlCrwdsMgpccu9R7RHyDa0qoqX3/+hT/Kl1G6E /NdxBOnYlXDrhUpB6STl/BVq9+6BIio= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1733241168; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ad9Pzt2/OcE8jq8EGSBbehUZzFj5ysy7l8xso2zBoPU=; b=PcNQxcfpk1/YRwLCcRcc2DIFRS4sEy3WIaJ9N42f5m72oqomKRiCEFJjJu2IUysptga72n aZ9/JoEWwxVoh3DQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 826B913A2E for <gdb-patches@sourceware.org>; Tue, 3 Dec 2024 15:52:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id YOeFHlApT2f5TwAAD6G6ig (envelope-from <tdevries@suse.de>) for <gdb-patches@sourceware.org>; Tue, 03 Dec 2024 15:52:48 +0000 From: Tom de Vries <tdevries@suse.de> To: gdb-patches@sourceware.org Subject: [pushed 2/2] [gdb/testsuite] Fix gdb.base/reset-catchpoint-cond.exp with --with-expat=no Date: Tue, 3 Dec 2024 16:54:03 +0100 Message-Id: <20241203155403.17907-2-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20241203155403.17907-1-tdevries@suse.de> References: <20241203155403.17907-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Level: X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; RCVD_TLS_ALL(0.00)[] X-Spam-Score: -2.80 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.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 |
[pushed,1/2,gdb/testsuite] Fix gdb.python/python.exp with --disable-tui
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 | fail | Patch failed to apply |
linaro-tcwg-bot/tcwg_gdb_build--master-arm | fail | Patch failed to apply |
Commit Message
Tom de Vries
Dec. 3, 2024, 3:54 p.m. UTC
When building gdb with --with-expat=no and running test-case gdb.base/reset-catchpoint-cond.exp we get: ... (gdb) catch syscall write^M warning: Can not parse XML syscalls information; \ XML support was disabled at compile time.^M Unknown syscall name 'write'.^M (gdb) FAIL: $exp: mode=syscall: catch syscall write ... Fix this by skipping the test for --with-expat=no. Tested on x86_64-linux. --- gdb/testsuite/gdb.base/reset-catchpoint-cond.exp | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/gdb/testsuite/gdb.base/reset-catchpoint-cond.exp b/gdb/testsuite/gdb.base/reset-catchpoint-cond.exp index e119c32e702..dabacd47467 100644 --- a/gdb/testsuite/gdb.base/reset-catchpoint-cond.exp +++ b/gdb/testsuite/gdb.base/reset-catchpoint-cond.exp @@ -165,5 +165,8 @@ proc run_test { mode } { # Run the tests. foreach_with_prefix mode { syscall signal fork } { + if { $mode == "syscall" && ![allow_xml_test] } { + continue + } run_test $mode }