public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed 0/1] [gdb/testsuite] Declare ada unsupported for remote host
@ 2023-03-17  9:34 Tom de Vries
  2023-03-17  9:34 ` [pushed 1/1] " Tom de Vries
  0 siblings, 1 reply; 2+ messages in thread
From: Tom de Vries @ 2023-03-17  9:34 UTC (permalink / raw)
  To: gdb-patches

I ran the gdb.ada test-cases on x86_64-linux with various
host/target boards from gdb/testsuite/boards.

There seems to be only one issue: gdb_ada_compile is not supported for
remote host.

Results after we make that explicit:
...
 $ ./test-all.sh
 HOST/TARGET: local
 # of expected failures          8
 # of expected passes            1713
 # of known failures             6
 # of unsupported tests          2
 HOST: local, TARGET: native-gdbserver
 # of expected failures          8
 # of expected passes            1698
 # of known failures             6
 # of unsupported tests          4
 HOST: local, TARGET: native-extended-gdbserver
 # of expected failures          8
 # of expected passes            1713
 # of known failures             6
 # of unsupported tests          2
 HOST: local, TARGET: native-stdio-gdbserver
 # of expected failures          8
 # of expected passes            1698
 # of known failures             6
 # of unsupported tests          4
 HOST: local, TARGET: remote-gdbserver-on-localhost
 # of expected failures          8
 # of expected passes            1699
 # of known failures             6
 # of unsupported tests          4
 HOST: local, TARGET: remote-stdio-gdbserver
 # of expected failures          8
 # of expected passes            1699
 # of known failures             6
 # of unsupported tests          4
 HOST: local, TARGET: remote-stdio-gdbserver-remotedir
 # of expected failures          8
 # of expected passes            1699
 # of known failures             6
 # of unsupported tests          4
 HOST: local-remote-host-notty, TARGET: native-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host-notty, TARGET: native-extended-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host-notty, TARGET: native-stdio-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host-notty, TARGET: remote-gdbserver-on-localhost
 # of unsupported tests          206
 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver-remotedir
 # of unsupported tests          206
 HOST: local-remote-host, TARGET: native-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host, TARGET: native-extended-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host, TARGET: native-stdio-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host, TARGET: remote-gdbserver-on-localhost
 # of unsupported tests          206
 HOST: local-remote-host, TARGET: remote-stdio-gdbserver
 # of unsupported tests          206
 HOST: local-remote-host, TARGET: remote-stdio-gdbserver-remotedir
 # of unsupported tests          206
 HOST/TARGET: local-remote-host-native
 # of unsupported tests          206
...

Tested on x86_64-linux.

Tom de Vries (1):
  [gdb/testsuite] Declare ada unsupported for remote host

 gdb/testsuite/lib/gdb.exp | 4 ++++
 1 file changed, 4 insertions(+)


base-commit: 14317f7f05d0290586f456d02176dd77a81aee69
-- 
2.35.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pushed 1/1] [gdb/testsuite] Declare ada unsupported for remote host
  2023-03-17  9:34 [pushed 0/1] [gdb/testsuite] Declare ada unsupported for remote host Tom de Vries
@ 2023-03-17  9:34 ` Tom de Vries
  0 siblings, 0 replies; 2+ messages in thread
From: Tom de Vries @ 2023-03-17  9:34 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-17  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-17  9:34 [pushed 0/1] [gdb/testsuite] Declare ada unsupported for remote host Tom de Vries
2023-03-17  9:34 ` [pushed 1/1] " 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).