From patchwork Sun Mar 8 22:52:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 45520 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2C034214AE for ; Sun, 8 Mar 2015 22:53:29 +0000 (UTC) Received: by wesq59 with SMTP id q59sf2913760wes.1 for ; Sun, 08 Mar 2015 15:53:28 -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=Je+JpwVrNggO/N+k8wYxLSG5ve8a4aACzfWAvmPdDko=; b=iTlusRpyXpxxZ5j1KGDWzKzPtymrKkpekRYQZxasQ8VT2mlFnv3ctgIYcW4gV4LdYR jmdPqEpUW1fDSqAFlzfrYlUbNrOPMwJJ2IDlc2F/SxJZm4feZ3O9qvF9yASS7T5kMP95 Txt4gN1ux1QXY2uvgvmUczuaD3DcTRrWokUfWSEuKX4Ur/QvKzdzsAYHCNeKgwt+Iahf Y2JndAbBNoRnighKx77pWn4Zn6nx00qUFEgn89cqcu9arxCPuiyESv9Su6x+CCDvVH3d RqKQCJitGmFPmUVoKHqfE7J7lCzV2JpI+p2T7h3w84Jjjoy4YSAcReh/VoCaTrjYR+IP nq7A== X-Gm-Message-State: ALoCoQkbTg58M7pLx4e8rAEQzeB5uiPdXeC2xDaDVQzXXWP9vZ6RnXnyLA3K6M43VSpyOW7tZypf X-Received: by 10.180.150.115 with SMTP id uh19mr425211wib.7.1425855208451; Sun, 08 Mar 2015 15:53:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.45.98 with SMTP id l2ls211452lam.28.gmail; Sun, 08 Mar 2015 15:53:28 -0700 (PDT) X-Received: by 10.112.132.67 with SMTP id os3mr22897715lbb.90.1425855208283; Sun, 08 Mar 2015 15:53:28 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id ck5si12915184lbc.19.2015.03.08.15.53.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 15:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbdu10 with SMTP id u10so20583882lbd.4 for ; Sun, 08 Mar 2015 15:53:28 -0700 (PDT) X-Received: by 10.152.116.11 with SMTP id js11mr929661lab.106.1425855208003; Sun, 08 Mar 2015 15:53:28 -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 h5csp1137271lbj; Sun, 8 Mar 2015 15:53:27 -0700 (PDT) X-Received: by 10.140.97.203 with SMTP id m69mr31156699qge.39.1425855206709; Sun, 08 Mar 2015 15:53:26 -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 a36si16630898qgf.104.2015.03.08.15.53.25 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 08 Mar 2015 15:53:26 -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 1YUk4a-0000km-2g; Sun, 08 Mar 2015 22:53:24 +0000 Received: from mail-ob0-f176.google.com ([209.85.214.176]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YUk4J-0000j2-NF for lng-odp@lists.linaro.org; Sun, 08 Mar 2015 22:53:07 +0000 Received: by obbnt9 with SMTP id nt9so5544158obb.9 for ; Sun, 08 Mar 2015 15:53:02 -0700 (PDT) X-Received: by 10.202.206.9 with SMTP id e9mr18486835oig.18.1425855182494; Sun, 08 Mar 2015 15:53:02 -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.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Mar 2015 15:53:02 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sun, 8 Mar 2015 17:52:48 -0500 Message-Id: <1425855170-4191-5-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 5/7] validation: pktio: 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.171 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_pktio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/validation/odp_pktio.c b/test/validation/odp_pktio.c index 8df367d..d473315 100644 --- a/test/validation/odp_pktio.c +++ b/test/validation/odp_pktio.c @@ -223,6 +223,8 @@ static odp_pktio_t create_pktio(const char *iface) if (pktio == ODP_PKTIO_INVALID) pktio = odp_pktio_lookup(iface); CU_ASSERT(pktio != ODP_PKTIO_INVALID); + CU_ASSERT(odp_pktio_to_u64(pktio) != + odp_pktio_to_u64(ODP_PKTIO_INVALID)); return pktio; }