aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server/server-connect.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-04-21 17:40:22 +0200
committerTom de Vries <tdevries@suse.de>2023-04-21 17:40:22 +0200
commitbd648c6ea00365af709bd54a0171e0a30f4a4942 (patch)
tree60436e5cae8f61d4cce03570f3e8e4243165a2ce /gdb/testsuite/gdb.server/server-connect.exp
parentf1531d046178fbdd97e3440e3d454683440b75f9 (diff)
downloadgdb-bd648c6ea00365af709bd54a0171e0a30f4a4942.zip
gdb-bd648c6ea00365af709bd54a0171e0a30f4a4942.tar.gz
gdb-bd648c6ea00365af709bd54a0171e0a30f4a4942.tar.bz2
[gdb/testsuite] Add make-check-all.sh
Directory gdb/testsuite/boards contains a number of host/target boards, which run a test-case (or test-cases) in a different way. The benefits of using these boards are: - improving test coverage of gdb, - making the testsuite more robust, and - making sure the test-cases work for non-native and remote setups, if possible. Each board is slightly different, and developers need to learn how to use each one, what parameters to pass and how, and which ones can be used in combination with each other. This is a threshold to start using them. And then there quite a few, so I suppose typically only a few will be used by each developer. Add script gdb/testsuite/make-check-all.sh, that's intended to function as a drop-in replacement of make check, while excercising all host/target boards in gdb/testsuite/boards. An example of make-check-all.sh for one test-case is: ... $ ~/gdb/src/gdb/testsuite/make-check-all.sh gdb.base/advance.exp LOCAL: # of expected passes 8 TARGET BOARD: cc-with-gdb-index # of expected passes 8 ... HOST BOARD: local-remote-host-notty, TARGET BOARD: remote-stdio-gdbserver # of expected passes 8 HOST/TARGET BOARD: local-remote-host-native # of expected passes 8 ... Shell-checked and tested on x86_64-linux. Co-Authored-By: Simon Marchi <simon.marchi@efficios.com> Reviewed-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.server/server-connect.exp')
0 files changed, 0 insertions, 0 deletions