[gdb/testsuite] Declare ada unsupported for remote host
authorTom de Vries <tdevries@suse.de>
Fri, 17 Mar 2023 09:34:18 +0000 (10:34 +0100)
committerTom de Vries <tdevries@suse.de>
Fri, 17 Mar 2023 09:34:18 +0000 (10:34 +0100)
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

index 8b3a594e6a4e22ce40ed80c84f8cfd4ca8369e50..5f32181f60e1ae9069f46323738678311145e7b2 100644 (file)
@@ -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
 }