[pushed,4/6,gdb/testsuite] Require non-remote host for gdb.server/multi-ui-errors.exp
Commit Message
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.
---
gdb/testsuite/gdb.server/multi-ui-errors.exp | 3 +++
1 file changed, 3 insertions(+)
@@ -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