From patchwork Sun Mar 8 22:52:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 45522 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D0E71214AE for ; Sun, 8 Mar 2015 22:53:38 +0000 (UTC) Received: by labhs14 with SMTP id hs14sf35959947lab.0 for ; Sun, 08 Mar 2015 15:53:37 -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=Y+JZWcm37k694iCDhC+LvxI7+DCjRfxJmwcHoxYaDwo=; b=MDizBh0KL2vjrQYnoxH6dbeck4eTe6qrlAoOodMlcv8LM08p6nGhFKSGr1WyEZnJ4O C1Rhl7n1U4qr8qrQBon+BwJzemcSfNnAlcPX9NQFZqgQAbyR92AccMSOg8S2TwbgXglo rgE/XB5VEJjLuTGylSdeOeVDMDVbY5c17IEu8BkiYyu4AnGyVL5Cxg98mFobLnkSCR4Y 1t76aCS6Agfho5SVo58oidgoTZqiDrIq1OPNK2CGjdEbc9zs9euNTz47GUckth7SjKHP PIRfr3kxUvfZzjti0urqx62pdZyUOavb1ytD4H9jo1HwkFmoaurgaiNs1tvdifJbdqTv 6vtA== X-Gm-Message-State: ALoCoQlRGDvR6W3us1lDjhf2ltMlnO87J9Ljuswry0NXrF8c3Dj7sfWxhgx0fXvJ2k+w4TzOO6Gc X-Received: by 10.180.91.76 with SMTP id cc12mr3985492wib.7.1425855217755; Sun, 08 Mar 2015 15:53:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.121.70 with SMTP id li6ls235747lab.44.gmail; Sun, 08 Mar 2015 15:53:37 -0700 (PDT) X-Received: by 10.112.163.229 with SMTP id yl5mr22894104lbb.60.1425855217538; Sun, 08 Mar 2015 15:53:37 -0700 (PDT) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id z5si12856304lbf.103.2015.03.08.15.53.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 15:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by lbvn10 with SMTP id n10so13631406lbv.11 for ; Sun, 08 Mar 2015 15:53:37 -0700 (PDT) X-Received: by 10.152.178.197 with SMTP id da5mr23616318lac.56.1425855217442; Sun, 08 Mar 2015 15:53:37 -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 h5csp1137306lbj; Sun, 8 Mar 2015 15:53:36 -0700 (PDT) X-Received: by 10.55.22.150 with SMTP id 22mr48612284qkw.39.1425855216195; Sun, 08 Mar 2015 15:53:36 -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 p38si14967226qkh.28.2015.03.08.15.53.34 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 08 Mar 2015 15:53:36 -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 1YUk4i-0000m6-O4; Sun, 08 Mar 2015 22:53:32 +0000 Received: from mail-oi0-f45.google.com ([209.85.218.45]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YUk4M-0000jC-RI for lng-odp@lists.linaro.org; Sun, 08 Mar 2015 22:53:10 +0000 Received: by oifu20 with SMTP id u20so26252738oif.11 for ; Sun, 08 Mar 2015 15:53:05 -0700 (PDT) X-Received: by 10.202.169.205 with SMTP id s196mr18266678oie.21.1425855185599; Sun, 08 Mar 2015 15:53:05 -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.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Mar 2015 15:53:05 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sun, 8 Mar 2015 17:52:50 -0500 Message-Id: <1425855170-4191-7-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 7/7] validation: shm: 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.217.176 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_shm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/validation/odp_shm.c b/test/validation/odp_shm.c index 1ad00ba..938ae65 100644 --- a/test/validation/odp_shm.c +++ b/test/validation/odp_shm.c @@ -52,6 +52,7 @@ static void test_odp_shm_sunnyday(void) shm = odp_shm_reserve(TESTNAME, sizeof(test_shared_data_t), ALIGE_SIZE, 0); CU_ASSERT(ODP_SHM_INVALID != shm); + CU_ASSERT(odp_shm_to_u64(shm) != odp_shm_to_u64(ODP_SHM_INVALID)); CU_ASSERT(0 == odp_shm_free(shm)); CU_ASSERT(ODP_SHM_INVALID == odp_shm_lookup(TESTNAME));