Message ID | 1425855170-4191-3-git-send-email-bill.fischofer@linaro.org |
---|---|
State | Accepted |
Commit | 5930f898dec700080c3896fef087960265b2b27b |
Headers | show
Return-Path: <patchwork-forward+bncBCKPF76X5YCBBX5F6OTQKGQECT6QSWI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A44EB214AE for <linaro@patches.linaro.org>; Sun, 8 Mar 2015 22:53:20 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf23747380lbv.0 for <linaro@patches.linaro.org>; Sun, 08 Mar 2015 15:53:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=O8TOQOsN8J8OuwTf3oruuwKQMLy71SS4505ulTL2VRg=; b=NVQ784Wk+IUja8vCTePvinesZKxLOlhD4zaaPIBZYU6D9waDGpQ77RHjsk7SF+JCVa k6ptv6AdvmK5LeWXR0PVBS37FKD+29OwQN6kWuPf9M4buGFuSuTjpfQEw2PEsxtAsdan wpU+Sjhl+YyJwIpM2dTkjZFxRrjmevVTfFEBO66PsWVj33GOGe6w1QfNPhqjdCQeIvbn rsozXbFcIbe8XrKTSaf02+T2f+yNDIdQzSy1nkTEYYTnj6GRAcKd67oB+/QPfBWdsWfH y/wMzRClE0lMkJWmmBOkyweC3jNsei8HcIIZO5TmF8pedzg14qWD+zKY9qxB2jdpdd6V v0gA== X-Gm-Message-State: ALoCoQkMizhhhM+dFbDBiJw6BUIXO9yAFOdcFUIo00tm0UjXP2BB1hQWXv+pb/yPIb+nZoLbm36d X-Received: by 10.112.142.1 with SMTP id rs1mr1591032lbb.19.1425855199542; Sun, 08 Mar 2015 15:53:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.116.9 with SMTP id js9ls258643lab.69.gmail; Sun, 08 Mar 2015 15:53:19 -0700 (PDT) X-Received: by 10.112.97.228 with SMTP id ed4mr8516424lbb.79.1425855199391; Sun, 08 Mar 2015 15:53:19 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id ll8si1948857lac.95.2015.03.08.15.53.19 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 15:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by lams18 with SMTP id s18so5493255lam.9 for <patchwork-forward@linaro.org>; Sun, 08 Mar 2015 15:53:19 -0700 (PDT) X-Received: by 10.152.116.65 with SMTP id ju1mr2356399lab.32.1425855199246; Sun, 08 Mar 2015 15:53:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1137225lbj; Sun, 8 Mar 2015 15:53:18 -0700 (PDT) X-Received: by 10.55.55.81 with SMTP id e78mr49730779qka.107.1425855198104; Sun, 08 Mar 2015 15:53:18 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id 15si14960670qku.46.2015.03.08.15.53.17 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 08 Mar 2015 15:53:18 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <lng-odp-bounces@lists.linaro.org>) id 1YUk4R-0000jx-FE; Sun, 08 Mar 2015 22:53:15 +0000 Received: from mail-ob0-f169.google.com ([209.85.214.169]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <bill.fischofer@linaro.org>) id 1YUk4G-0000iw-7c for lng-odp@lists.linaro.org; Sun, 08 Mar 2015 22:53:04 +0000 Received: by obcvb8 with SMTP id vb8so26193357obc.0 for <lng-odp@lists.linaro.org>; Sun, 08 Mar 2015 15:52:59 -0700 (PDT) X-Received: by 10.202.214.206 with SMTP id n197mr18324091oig.2.1425855179033; Sun, 08 Mar 2015 15:52:59 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id ku2sm10720711obc.12.2015.03.08.15.52.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Mar 2015 15:52:58 -0700 (PDT) From: Bill Fischofer <bill.fischofer@linaro.org> To: lng-odp@lists.linaro.org Date: Sun, 8 Mar 2015 17:52:46 -0500 Message-Id: <1425855170-4191-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1425855170-4191-1-git-send-email-bill.fischofer@linaro.org> References: <1425855170-4191-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv3 3/7] validation: buffer: add unit tests for strong type display functions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/test/validation/odp_buffer.c b/test/validation/odp_buffer.c index 5ee708e..f2c0c9b 100644 --- a/test/validation/odp_buffer.c +++ b/test/validation/odp_buffer.c @@ -136,6 +136,9 @@ static void buffer_management_basic(void) CU_ASSERT(odp_buffer_size(raw_buffer) >= raw_buffer_size); CU_ASSERT(odp_buffer_addr(raw_buffer) != NULL); odp_buffer_print(raw_buffer); + CU_ASSERT(odp_buffer_to_u64(raw_buffer) != + odp_buffer_to_u64(ODP_BUFFER_INVALID)); + CU_ASSERT(odp_event_to_u64(ev) != odp_event_to_u64(ODP_EVENT_INVALID)); } static CU_TestInfo buffer_tests[] = {
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- test/validation/odp_buffer.c | 3 +++ 1 file changed, 3 insertions(+)