From patchwork Thu Oct 1 19:46:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Covington X-Patchwork-Id: 525285 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9D753140788 for ; Fri, 2 Oct 2015 05:53:54 +1000 (AEST) Received: from localhost ([::1]:55948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjvM-0001Fn-GQ for incoming@patchwork.ozlabs.org; Thu, 01 Oct 2015 15:53:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjoY-00070H-Cs for qemu-devel@nongnu.org; Thu, 01 Oct 2015 15:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhjoV-0005Gc-5j for qemu-devel@nongnu.org; Thu, 01 Oct 2015 15:46:50 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjoU-0005GM-WA for qemu-devel@nongnu.org; Thu, 01 Oct 2015 15:46:47 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 70724141931; Thu, 1 Oct 2015 19:46:45 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 56BF5141933; Thu, 1 Oct 2015 19:46:45 +0000 (UTC) Received: from keeshans.qualcomm.com (rrcs-67-52-130-30.west.biz.rr.com [67.52.130.30]) (using TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cov@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 00137141931; Thu, 1 Oct 2015 19:46:43 +0000 (UTC) From: Christopher Covington To: drjones@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu Date: Thu, 1 Oct 2015 15:46:25 -0400 Message-Id: <1443728785-10461-1-git-send-email-cov@codeaurora.org> X-Mailer: git-send-email 1.8.1.1 In-Reply-To: <20150929154752.GA21067@hawk.localdomain> References: <20150929154752.GA21067@hawk.localdomain> X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 198.145.29.96 Cc: Christopher Covington Subject: [Qemu-devel] [PATCHv2] arm: Fail on unknown subtest X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Christopher Covington Reviewed-by: Andrew Jones --- arm/selftest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arm/selftest.c b/arm/selftest.c index fc9ec60..f4a5030 100644 --- a/arm/selftest.c +++ b/arm/selftest.c @@ -376,6 +376,9 @@ int main(int argc, char **argv) cpumask_set_cpu(0, &smp_reported); while (!cpumask_full(&smp_reported)) cpu_relax(); + } else { + printf("Unknown subtest\n"); + abort(); } return report_summary();