From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csUk5-0006EF-9m for qemu-devel@nongnu.org; Mon, 27 Mar 2017 09:31:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csUk4-0000Yh-8d for qemu-devel@nongnu.org; Mon, 27 Mar 2017 09:31:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46308) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1csUk4-0000Yc-3L for qemu-devel@nongnu.org; Mon, 27 Mar 2017 09:31:28 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2C1B6C05AA53 for ; Mon, 27 Mar 2017 13:31:27 +0000 (UTC) Date: Mon, 27 Mar 2017 14:31:14 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20170327133113.GA31177@work-vm> References: <1490092792-30957-1-git-send-email-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1490092792-30957-1-git-send-email-thuth@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/3] Add a tester for HMP commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-devel@nongnu.org, Markus Armbruster , Eduardo Habkost * Thomas Huth (thuth@redhat.com) wrote: > We currently do not test HMP commands automatically yet, so if they > break, we do not notice this until somebody runs into the problem > (like the "info qtree" problem that we recently had on qemu-system-ppc64). > So let's add a simple tester that runs some HMP commands to check if they > can crash or abort QEMU. > > Note: Three boards are currently still blacklisted in the third patch. > I've added the problems to our BiteSizeTasks wiki page, so I hope they > will get fixed by GSoC students or somebody else soon. Once the problems > are fixed, the blacklisting can be removed in the tester, too. Queued > Thomas Huth (3): > libqtest: Ignore QMP events when parsing the response for HMP commands > libqtest: Add a generic function to run a callback function for every > machine > tests: Add a tester for HMP commands > > tests/Makefile.include | 2 + > tests/libqtest.c | 36 +++++++++++ > tests/libqtest.h | 8 +++ > tests/pc-cpu-test.c | 95 +++++++++++------------------ > tests/qom-test.c | 36 ++--------- > tests/test-hmp.c | 160 +++++++++++++++++++++++++++++++++++++++++++++++++ > 6 files changed, 248 insertions(+), 89 deletions(-) > create mode 100644 tests/test-hmp.c > > -- > 1.8.3.1 > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK