From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 27D043858431 for ; Fri, 17 Mar 2023 09:34:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 27D043858431 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3C46221A6F for ; Fri, 17 Mar 2023 09:34:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679045670; 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=uyBEUFZ7bUw1NNeiURaCNtFJLwWiszg4RwKvPpV4h74=; b=mioGiloN8/rSD0F3w/p4cVvp3UBg/ozmUPJJRxCa2GHWV6dIB9ud0InyKnPHa42MKsSPda 6a9w0DDRE4xdwH/ZmhHJYFwy7EaZltuDI2wW2IpWRxuB7rc+vnN3Y8WgGldkX1jLaz6O1Y Zx4ZFtkJ8w1uuAawZf6eHYEMYZuYH8g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679045670; 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=uyBEUFZ7bUw1NNeiURaCNtFJLwWiszg4RwKvPpV4h74=; b=4rXnS6fFq6vANkGM+V1il0/7kZJE7Cgan3nXoOLfN4YcfnQ0x6xofmX0UsNQ7x5hkvzb8U 7F0d37M7qX++DtAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1E5E21346F for ; Fri, 17 Mar 2023 09:34:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yFZTBiY0FGQLVAAAMHmgww (envelope-from ) for ; Fri, 17 Mar 2023 09:34:30 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed 1/1] [gdb/testsuite] Declare ada unsupported for remote host Date: Fri, 17 Mar 2023 10:34:28 +0100 Message-Id: <20230317093428.19018-2-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230317093428.19018-1-tdevries@suse.de> References: <20230317093428.19018-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Currently gdb_ada_compile doesn't support remote host. Make this explicit in allow_ada_tests. Tested on x86_64-linux. --- gdb/testsuite/lib/gdb.exp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 8b3a594e6a4..5f32181f60e 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2442,6 +2442,10 @@ proc allow_fortran_tests {} { # Return a 1 if I want to try to test ada. proc allow_ada_tests {} { + if { [is_remote host] } { + # Currently gdb_ada_compile doesn't support remote host. + return 0 + } return 1 } -- 2.35.3