From patchwork Sun Mar 8 22:52:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 45521 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EBCBA214AE for ; Sun, 8 Mar 2015 22:53:33 +0000 (UTC) Received: by wivz2 with SMTP id z2sf8639176wiv.1 for ; Sun, 08 Mar 2015 15:53:33 -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=CKRSxxO7fb712YrN0iXgL2FfDnxfVWKjtC0lYzBoh/c=; b=joxd5fOI/OKN3LCzTe9i0RCNLp+lurXaw2U0FB7r0u25DYOZV9LhCQ1n+ZPeuy8dNH Kp+MRVv5zSsTK632H0TQGrO/c1Tq3h0NykYS1nLASdtA4oBcNkqaI9B2RXGgH7z11QtD 12VomcztEB0K6trmWciLzN6Fz3dEcBAPCsWqgwkpyT8uXxDJRxUWpIkSATuWaKLqL/nA Ts05PU9vicDBiUb0xACx4geOFl5EJLJZNPGFIpAmA6gl0SQQ3/gkAvXqOi4z8m5QhzOj 1VFedDSxUqyZL6yA1zQhuI9JE0+c41VhAjxynqp6h/2DruYfL5ORIBJLXlgCeXsOjReG NPDQ== X-Gm-Message-State: ALoCoQkSCCYICWl+K2ylrj9CTyAmqbah4+p5yb8bpAnhPigmWtrSA659kjY+SdnN59wgVM7fxemz X-Received: by 10.180.101.101 with SMTP id ff5mr6693025wib.5.1425855213282; Sun, 08 Mar 2015 15:53:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.42 with SMTP id g10ls249221laa.51.gmail; Sun, 08 Mar 2015 15:53:33 -0700 (PDT) X-Received: by 10.152.42.209 with SMTP id q17mr22796842lal.23.1425855213123; Sun, 08 Mar 2015 15:53:33 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id p9si12802366lap.178.2015.03.08.15.53.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 15:53:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by labge10 with SMTP id ge10so308657lab.7 for ; Sun, 08 Mar 2015 15:53:33 -0700 (PDT) X-Received: by 10.112.201.231 with SMTP id kd7mr2026666lbc.35.1425855212998; Sun, 08 Mar 2015 15:53:32 -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 h5csp1137292lbj; Sun, 8 Mar 2015 15:53:32 -0700 (PDT) X-Received: by 10.55.17.76 with SMTP id b73mr43978082qkh.71.1425855211802; Sun, 08 Mar 2015 15:53:31 -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 1si16642985qgh.89.2015.03.08.15.53.30 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 08 Mar 2015 15:53:31 -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 ) id 1YUk4e-0000lH-H8; Sun, 08 Mar 2015 22:53:28 +0000 Received: from mail-oi0-f42.google.com ([209.85.218.42]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YUk4L-0000jB-EQ for lng-odp@lists.linaro.org; Sun, 08 Mar 2015 22:53:09 +0000 Received: by oiav1 with SMTP id v1so26247822oia.9 for ; Sun, 08 Mar 2015 15:53:04 -0700 (PDT) X-Received: by 10.202.86.212 with SMTP id k203mr18444052oib.42.1425855184211; Sun, 08 Mar 2015 15:53:04 -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.53.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Mar 2015 15:53:03 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sun, 8 Mar 2015 17:52:49 -0500 Message-Id: <1425855170-4191-6-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 6/7] validation: pool: 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: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 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.49 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 Signed-off-by: Bill Fischofer --- test/validation/odp_pool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/validation/odp_pool.c b/test/validation/odp_pool.c index c433380..1a518a0 100644 --- a/test/validation/odp_pool.c +++ b/test/validation/odp_pool.c @@ -21,6 +21,8 @@ static void pool_create_destroy(odp_pool_param_t *params) pool = odp_pool_create(pool_name, ODP_SHM_INVALID, params); CU_ASSERT_FATAL(pool != ODP_POOL_INVALID); + CU_ASSERT(odp_pool_to_u64(pool) != + odp_pool_to_u64(ODP_POOL_INVALID)); CU_ASSERT(odp_pool_destroy(pool) == 0); }