From nobody Tue Feb 10 21:40:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518121419659590.3209741061378; Thu, 8 Feb 2018 12:23:39 -0800 (PST) Received: from localhost ([::1]:44666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejsjK-0005qT-Ko for importer@patchew.org; Thu, 08 Feb 2018 15:23:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejsWF-0002ZP-Qr for qemu-devel@nongnu.org; Thu, 08 Feb 2018 15:10:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejsWA-0002Pk-6V for qemu-devel@nongnu.org; Thu, 08 Feb 2018 15:10:07 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:53836 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ejsWA-0002PU-2K for qemu-devel@nongnu.org; Thu, 08 Feb 2018 15:10:02 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8B8C64040073 for ; Thu, 8 Feb 2018 20:10:01 +0000 (UTC) Received: from thh440s.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTP id A9176B07B8; Thu, 8 Feb 2018 20:10:00 +0000 (UTC) From: Thomas Huth To: qemu-devel@nongnu.org Date: Thu, 8 Feb 2018 21:09:40 +0100 Message-Id: <1518120582-26647-13-git-send-email-thuth@redhat.com> In-Reply-To: <1518120582-26647-1-git-send-email-thuth@redhat.com> References: <1518120582-26647-1-git-send-email-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 08 Feb 2018 20:10:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 08 Feb 2018 20:10:01 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'thuth@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 12/14] tests/boot-serial: Enable the boot-serial test on SPARC machines, too X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" OpenBIOS prints out the name of the detected CPU here, so looking for this string is a nice test to verify that the CPU detection is still working correctly. Acked-by: Mark Cave-Ayland Signed-off-by: Thomas Huth Reviewed-by: Eric Blake --- tests/Makefile.include | 2 ++ tests/boot-serial-test.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/tests/Makefile.include b/tests/Makefile.include index 83def69..6609276 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -352,11 +352,13 @@ check-qtest-sh4eb-y =3D tests/endianness-test$(EXESUF) check-qtest-sparc-y =3D tests/prom-env-test$(EXESUF) #check-qtest-sparc-y +=3D tests/m48t59-test$(EXESUF) #gcov-files-sparc-y =3D hw/timer/m48t59.c +check-qtest-sparc-y +=3D tests/boot-serial-test$(EXESUF) =20 check-qtest-sparc64-y =3D tests/endianness-test$(EXESUF) #check-qtest-sparc64-y +=3D tests/m48t59-test$(EXESUF) #gcov-files-sparc64-y +=3D hw/timer/m48t59.c check-qtest-sparc64-y +=3D tests/prom-env-test$(EXESUF) +check-qtest-sparc64-y +=3D tests/boot-serial-test$(EXESUF) =20 check-qtest-arm-y =3D tests/tmp105-test$(EXESUF) check-qtest-arm-y +=3D tests/ds1338-test$(EXESUF) diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c index ea87a80..996d3d7 100644 --- a/tests/boot-serial-test.c +++ b/tests/boot-serial-test.c @@ -78,6 +78,10 @@ static testdef_t tests[] =3D { { "i386", "q35", "-device sga", "SGABIOS" }, { "x86_64", "isapc", "-cpu qemu32 -device sga", "SGABIOS" }, { "x86_64", "q35", "-device sga", "SGABIOS" }, + { "sparc", "LX", "", "TMS390S10" }, + { "sparc", "SS-4", "", "MB86904" }, + { "sparc", "SS-600MP", "", "TMS390Z55" }, + { "sparc64", "sun4u", "", "UltraSPARC" }, { "s390x", "s390-ccw-virtio", "-nodefaults -device sclpconsole,chardev=3Dserial0", "virtio device"= }, { "m68k", "mcf5208evb", "", "TT", sizeof(kernel_mcf5208), kernel_mcf52= 08 }, --=20 1.8.3.1