From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96390 invoked by alias); 21 Jul 2019 18:49:18 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 96373 invoked by uid 89); 21 Jul 2019 18:49:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SEMBLACK,SPF_HELO_PASS autolearn=no version=3.3.1 spammy=cosmetic, HX-Languages-Length:846 X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (192.185.197.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Jul 2019 18:49:17 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway36.websitewelcome.com (Postfix) with ESMTP id 7C9E7400C828C for ; Sun, 21 Jul 2019 13:12:52 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id pGtXh2auU2qH7pGtXh6UKW; Sun, 21 Jul 2019 13:49:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Pb8VzejXX1BgJt/NzFUYKsiRZixjfJHIxpWNOkNd4qQ=; b=emrc2G4RWAKPu9Qb6MCiKaEb6U MCYGIdfHxKnlKi06D3NTmv+siS3vq+A0jjznq9R+yXZ9qD3qSgp0uNTnjiRpl7LuNtAT6O00mAke5 p8bIYOhRQAK5skfnKX6m4HHic; Received: from 97-122-178-82.hlrn.qwest.net ([97.122.178.82]:58458 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hpGtW-002hWd-UL for gdb-patches@sourceware.org; Sun, 21 Jul 2019 13:49:15 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 0/8] Testing for the TUI Date: Sun, 21 Jul 2019 18:49:00 -0000 Message-Id: <20190721184910.26679-1-tom@tromey.com> X-SW-Source: 2019-07/txt/msg00490.txt.bz2 While working on another long set of TUI patches, I started introducing bugs as I made less cosmetic changes. So, I added a way to test the TUI. I was keeping this in my development series, but I realized it would be better to land it sooner, and then update the tests in the new series. This series adds a terminal emulator to the gdb test suite, then provides a few tests to exercise the TUI. The emulator isn't perfect by any means -- occasionally I've had to implement a new CSI function while writing a test -- but it's good enough so far. If you examine the tests here, you'll see a few uses of setup_xfail. These were all introduced when backporting to trunk, and will be removed by my next TUI series. There are plenty of tests that could still be written. Coverage in the TUI is still just 63%. Tom