public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Declare ada unsupported for remote host
@ 2023-03-17  9:34 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-03-17  9:34 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bf8d2f92356768d329430c08dc81025243db636d

commit bf8d2f92356768d329430c08dc81025243db636d
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Mar 17 10:34:18 2023 +0100

    [gdb/testsuite] Declare ada unsupported for remote host
    
    Currently gdb_ada_compile doesn't support remote host.
    
    Make this explicit in allow_ada_tests.
    
    Tested on x86_64-linux.

Diff:
---
 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
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-17  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-17  9:34 [binutils-gdb] [gdb/testsuite] Declare ada unsupported for remote host Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).