From patchwork Mon Mar 13 16:20:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 55571 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1720538582A3 for ; Mon, 13 Mar 2023 16:21:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1720538582A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678724506; bh=rdwhmKuSp8Y217/81c/5/5oQ04pCamVsi1cn0CMO+ys=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=tNmlIdHiBEgKZmPmEp1eKjEmV1G89DrxTcSinWNANkbijT07LUYamT5KiIsgt9CnL 9FPNMyDjAl4BJHUsZzfeUbzuJ0ShjDse7vtwW1Hz0f5ThJ/26zvhxbAqzNqs7GD30I Of3T8WBxyDHxSb+Dpfo2fCdxqFFYAoy6CcjVP9wg= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 8FEA83858C2F for ; Mon, 13 Mar 2023 16:20:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8FEA83858C2F Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id C850922A3B for ; Mon, 13 Mar 2023 16:20:51 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B4CD313517 for ; Mon, 13 Mar 2023 16:20:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id RXTuKmNND2QbDAAAMHmgww (envelope-from ) for ; Mon, 13 Mar 2023 16:20:51 +0000 To: gdb-patches@sourceware.org Subject: [pushed 0/8] [gdb/testsuite] Fix remote host issues in TUI tests Date: Mon, 13 Mar 2023 17:20:43 +0100 Message-Id: <20230313162051.488-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tom de Vries via Gdb-patches From: Tom de Vries Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" I ran the gdb.tui/*.exp and gdb.pyton/tui-*.exp test-cases with various host/target boards from gdb/testsuite/boards and fixed issues, most of which had to do with remote host testing. Results after the fixes: ... $ ./test-all.sh HOST/TARGET: local # of expected passes 724 HOST: local, TARGET: native-gdbserver # of expected passes 709 # of unsupported tests 2 HOST: local, TARGET: native-extended-gdbserver # of expected passes 717 # of unsupported tests 1 HOST: local, TARGET: native-stdio-gdbserver # of expected passes 709 # of unsupported tests 2 HOST: local, TARGET: remote-gdbserver-on-localhost # of expected passes 709 # of unsupported tests 2 HOST: local, TARGET: remote-stdio-gdbserver # of expected passes 709 # of unsupported tests 2 HOST: local, TARGET: remote-stdio-gdbserver-remotedir # of expected passes 709 # of unsupported tests 2 HOST: local-remote-host-notty, TARGET: native-gdbserver # of expected passes 336 # of unsupported tests 33 HOST: local-remote-host-notty, TARGET: native-extended-gdbserver # of expected passes 337 # of unsupported tests 33 HOST: local-remote-host-notty, TARGET: native-stdio-gdbserver # of expected passes 336 # of unsupported tests 33 HOST: local-remote-host-notty, TARGET: remote-gdbserver-on-localhost # of expected passes 336 # of unsupported tests 33 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver # of expected passes 336 # of unsupported tests 33 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver-remotedir # of expected passes 336 # of unsupported tests 33 HOST: local-remote-host, TARGET: native-gdbserver # of expected passes 340 # of unsupported tests 33 HOST: local-remote-host, TARGET: native-extended-gdbserver # of expected passes 341 # of unsupported tests 33 HOST: local-remote-host, TARGET: native-stdio-gdbserver # of expected passes 340 # of unsupported tests 33 HOST: local-remote-host, TARGET: remote-gdbserver-on-localhost # of expected passes 340 # of unsupported tests 33 HOST: local-remote-host, TARGET: remote-stdio-gdbserver # of expected passes 340 # of unsupported tests 33 HOST: local-remote-host, TARGET: remote-stdio-gdbserver-remotedir # of expected passes 340 # of unsupported tests 33 HOST/TARGET: local-remote-host-native # of expected passes 333 # of unsupported tests 31 # of untested testcases 1 ... Tested on x86_64-linux. Tom de Vries (8): [gdb/testsuite] Fix untested message in gdb.tui/corefile-run.exp [gdb/testsuite] Handle USE_TUI in gdb.tui/corefile-run.exp [gdb/testsuite] Require ![is_remote host] for TUI [gdb/testsuite] Fix gdb.tui/tui-nl-filtered-output.exp for remote host [gdb/testsuite] Fix gdb.tui/tui-layout.exp for remote host [gdb/testsuite] Fix gdb.tui/completion.exp for local-remote-host-notty [gdb/testsuite] Fix gdb.python/tui-window.exp for remote host [gdb/testsuite] Fix gdb.python/tui-window-factory.exp for remote host .../gdb.python/tui-window-factory.exp | 5 +++- gdb/testsuite/gdb.python/tui-window.exp | 1 + gdb/testsuite/gdb.tui/completion.exp | 13 ++++++---- gdb/testsuite/gdb.tui/corefile-run.exp | 24 ++++++++++++------- gdb/testsuite/gdb.tui/tui-layout.exp | 4 ++++ .../gdb.tui/tui-nl-filtered-output.exp | 5 +++- gdb/testsuite/lib/gdb.exp | 22 ++++++++++++++++- gdb/testsuite/lib/tuiterm.exp | 8 +++++++ 8 files changed, 66 insertions(+), 16 deletions(-) base-commit: 275589d9a0fda6fe898aae678588bb3841d3fed1