From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH v4 09/19] libcflat: add abort() and assert() Date: Fri, 6 Jun 2014 20:38:43 +0200 Message-ID: <20140606183843.GM3994@lvm> References: <1397149020-3501-1-git-send-email-drjones@redhat.com> <1397149020-3501-10-git-send-email-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org To: Andrew Jones Return-path: Received: from mail-la0-f51.google.com ([209.85.215.51]:62531 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363AbaFFSir (ORCPT ); Fri, 6 Jun 2014 14:38:47 -0400 Received: by mail-la0-f51.google.com with SMTP id gf5so1727445lab.24 for ; Fri, 06 Jun 2014 11:38:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1397149020-3501-10-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Apr 10, 2014 at 06:56:50PM +0200, Andrew Jones wrote: > The test framework may have external dependencies. assert() provides > the ability to abort when those dependencies aren't met. However, > assert() should only be used for unlikely conditions. We can provide > more informative messages with printf() for the more likely problems. > > Signed-off-by: Andrew Jones > --- Acked-by: Christoffer Dall