From 3efcb62566c3abff7b373f9c536a51b8b78e59df Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 28 Mar 2023 17:48:35 +0200 Subject: [PATCH] [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. --- gdb/testsuite/gdb.server/multi-ui-errors.exp | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2