From: Tom de Vries Date: Tue, 28 Mar 2023 15:48:35 +0000 (+0200) Subject: [gdb/testsuite] Require non-remote host for gdb.server/multi-ui-errors.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3efcb62566c3abff7b373f9c536a51b8b78e59df;p=binutils-gdb.git [gdb/testsuite] Require non-remote host for gdb.server/multi-ui-errors.exp Require non-remote host for test-case gdb.server/multi-ui-errors.exp, because it uses "spawn -pty", which creates a pty on build, which gdb cannot use on remote host. Tested on x86_64-linux. --- diff --git a/gdb/testsuite/gdb.server/multi-ui-errors.exp b/gdb/testsuite/gdb.server/multi-ui-errors.exp index 266207a5f4b..af83614fe55 100644 --- a/gdb/testsuite/gdb.server/multi-ui-errors.exp +++ b/gdb/testsuite/gdb.server/multi-ui-errors.exp @@ -25,6 +25,9 @@ load_lib gdbserver-support.exp standard_testfile require allow_gdbserver_tests +# The test-case uses "spawn -pty", which creates a pty on build, which gdb +# cannot use on remote host. +require {!is_remote host} save_vars { GDBFLAGS } { # If GDB and GDBserver are both running locally, set the sysroot to avoid