From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bg7i5-0004f3-Tt for qemu-devel@nongnu.org; Sat, 03 Sep 2016 05:58:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bg7i1-0004yf-Il for qemu-devel@nongnu.org; Sat, 03 Sep 2016 05:58:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bg7i1-0004yb-Cz for qemu-devel@nongnu.org; Sat, 03 Sep 2016 05:57:57 -0400 From: Thomas Huth Date: Sat, 3 Sep 2016 11:57:49 +0200 Message-Id: <1472896671-1189-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/2] Add a test for serial output (and sort tests by architecture in the Makefile) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, david@gibson.dropbear.id.au, Paolo Bonzini Cc: Eric Blake , Markus Armbruster , Peter Maydell , Richard Henderson , Peter Crosthwaite , Eduardo Habkost Since some of the machines that we support in QEMU sometimes get broken by other changes, and it then takes a while 'till somebody notices the breakage, it would be nice to get some more automatic test coverage for various machines during "make check". The second patch adds such a test for the machines where we've got a firmware image for and thus can test for some magic strings in the serial output of the firmware. The first patch is just a clean-up for the Makefile to avoid that new tests get added with "=" instead of "+=" (and thus completely overwrite the correspond variable by accident). v3: - Rebased to master (there were some conflicts in Makefile.include) v2: - Some more clean-ups for the Makefile (i.e. some additional empty lines) - Check return value of read() to make sure that there is no error Thomas Huth (2): tests: Resort check-qtest entries in Makefile.include tests: Check serial output of firmware boot of some machines tests/Makefile.include | 52 +++++++++++++++------- tests/boot-serial-test.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 146 insertions(+), 16 deletions(-) create mode 100644 tests/boot-serial-test.c -- 1.8.3.1