From patchwork Tue Oct 21 17:59:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 39214 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5BDE52039B for ; Tue, 21 Oct 2014 18:00:25 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id bs8sf1296005wib.11 for ; Tue, 21 Oct 2014 11:00:24 -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:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=3JEvi4XZt4pLNSrbQq+m9zaTedwDCQwSCJW1MgFYeVg=; b=MCcynMFTDNiCipWN0XYQjmNL+fUyE9MC5huy06pW7t+qSf4mnbwFq3reITbffofX5r YYnSFy/uzOFZLSX+AsT22lN1l/hmEA5MWi76SqlnbukeYz6u9IzC8tOh2PhYqKRpnxaW 94b6UxJLU/cWbfn4lbbQCRqtZ8XH5Mo9i+HTPHlpTjnQQbFhrZhdTd/Y+R/plEmJG1sB IsNzGSB5OdFNiLc9lX6RCbgRmfXip0eYMdx2+CbDEsV8SuLhYedA3kk5Atz/ooR68dXh 6p93DZN2ebzhLarIF/kiaQaFXUbjaWGIMGzS+WUpC3/xO9LbIeOyXA0+qsYw65phXOdm n10w== X-Gm-Message-State: ALoCoQkMSzAbJhClQAfc0uiVvW6nr1jo3ec12AHR3c4pBF5y8FwjDZ4cqgcV9oC7mfu0PV2Yvvsa X-Received: by 10.112.40.161 with SMTP id y1mr677377lbk.13.1413914424034; Tue, 21 Oct 2014 11:00:24 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.66 with SMTP id h2ls73637laa.58.gmail; Tue, 21 Oct 2014 11:00:23 -0700 (PDT) X-Received: by 10.152.28.101 with SMTP id a5mr11230305lah.52.1413914423851; Tue, 21 Oct 2014 11:00:23 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id at1si20117904lbc.102.2014.10.21.11.00.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 11:00:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id hs14so1577417lab.3 for ; Tue, 21 Oct 2014 11:00:23 -0700 (PDT) X-Received: by 10.112.77.74 with SMTP id q10mr27988429lbw.66.1413914423729; Tue, 21 Oct 2014 11:00:23 -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.84.229 with SMTP id c5csp553175lbz; Tue, 21 Oct 2014 11:00:22 -0700 (PDT) X-Received: by 10.140.101.133 with SMTP id u5mr34151907qge.84.1413914422169; Tue, 21 Oct 2014 11:00:22 -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 z74si23842493qgz.53.2014.10.21.11.00.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 21 Oct 2014 11:00:20 -0700 (PDT) Received-SPF: temperror (google.com: error in processing during lookup of lng-odp-bounces@lists.linaro.org: DNS timeout) 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 1XgdjD-0008Fa-5P; Tue, 21 Oct 2014 18:00:15 +0000 Received: from mail-qg0-f53.google.com ([209.85.192.53]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xgdj6-0008FS-Nu for lng-odp@lists.linaro.org; Tue, 21 Oct 2014 18:00:08 +0000 Received: by mail-qg0-f53.google.com with SMTP id q107so1313925qgd.12 for ; Tue, 21 Oct 2014 11:00:03 -0700 (PDT) X-Received: by 10.229.102.72 with SMTP id f8mr48280704qco.9.1413914403358; Tue, 21 Oct 2014 11:00:03 -0700 (PDT) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id v10sm11292674qar.10.2014.10.21.11.00.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Oct 2014 11:00:02 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 21 Oct 2014 13:59:49 -0400 Message-Id: <1413914389-41685-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] odp_init_test.c: Add odp_term_global test case 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: mike.holmes@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.44 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 Add a new test case for the new ODP API odp_term_global Signed-off-by: Mike Holmes --- test/cunit/odp_init_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/cunit/odp_init_test.c b/test/cunit/odp_init_test.c index 4ca1e2c..a612109 100644 --- a/test/cunit/odp_init_test.c +++ b/test/cunit/odp_init_test.c @@ -15,6 +15,9 @@ static void test_odp_init_global(void) int status; status = odp_init_global(NULL, NULL); CU_ASSERT(status == 0); + + status = odp_term_global(); + CU_ASSERT(status == 0); } static int init(void)