From patchwork Tue Feb 24 02:08: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: 44924 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1ABD72029F for ; Tue, 24 Feb 2015 02:09:14 +0000 (UTC) Received: by wggy19 with SMTP id y19sf1558203wgg.1 for ; Mon, 23 Feb 2015 18:09:13 -0800 (PST) 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:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=CuIwvnl9hWBH8qQ8cOukDeG4Gx2TdAJPogUP4YVOWwA=; b=m1IWF8FISwcweJssPf8cQLVhnzz+wDVQ/T1CEDVqGoCvkigX5TSRCZUzyBFK2OlyVZ cJ0ujRflcDeYS25sj7fPf8TiLx56Bn5krkjhOL2UYbVApKJZrfKcNNhN9R4cajSCDwns mWdBMai0aWowtU0PnwTV9uY5gaRlsIFIzb5yS4ssdab5BFO1QVQV8lXpznvLDF+Ms4BS 37rU8OnMlExr02ltynB2kdS1KZJU3QbRVcM45mR2coB5ngt5a0ooltTLueOTOYaHXTbH /+Z+BGAce5KwTAdZEcAuUXF+tSaDDhCjC2EHE/RFMJ2rBgLsSCK5hBcia0vLTnN4cwc5 EyPw== X-Gm-Message-State: ALoCoQmDgWGdQCYBZBFVj7kF26gLjEJcJzh2No9zbFy9AtQkUwCEGCvaRZFZGvFMk5N2j1IpBXUP X-Received: by 10.112.199.69 with SMTP id ji5mr1736294lbc.0.1424743753373; Mon, 23 Feb 2015 18:09:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.132 with SMTP id b4ls624951lah.33.gmail; Mon, 23 Feb 2015 18:09:13 -0800 (PST) X-Received: by 10.152.88.4 with SMTP id bc4mr12408286lab.86.1424743753162; Mon, 23 Feb 2015 18:09:13 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id t6si25049784laz.62.2015.02.23.18.09.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 18:09:13 -0800 (PST) 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 labgd6 with SMTP id gd6so164279lab.8 for ; Mon, 23 Feb 2015 18:09:13 -0800 (PST) X-Received: by 10.152.21.100 with SMTP id u4mr12129413lae.41.1424743753072; Mon, 23 Feb 2015 18:09:13 -0800 (PST) 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 h5csp1629903lbj; Mon, 23 Feb 2015 18:09:12 -0800 (PST) X-Received: by 10.140.238.208 with SMTP id j199mr27587455qhc.56.1424743751691; Mon, 23 Feb 2015 18:09:11 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id z123si29615658qhd.91.2015.02.23.18.09.10 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Feb 2015 18:09:11 -0800 (PST) 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 1YQ4vp-0004SK-Vn; Tue, 24 Feb 2015 02:09:05 +0000 Received: from mail-ob0-f171.google.com ([209.85.214.171]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQ4vk-0004SF-D2 for lng-odp@lists.linaro.org; Tue, 24 Feb 2015 02:09:00 +0000 Received: by mail-ob0-f171.google.com with SMTP id gq1so40643796obb.2 for ; Mon, 23 Feb 2015 18:08:55 -0800 (PST) X-Received: by 10.202.95.2 with SMTP id t2mr9124943oib.104.1424743735100; Mon, 23 Feb 2015 18:08:55 -0800 (PST) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id fu12sm16061716oeb.14.2015.02.23.18.08.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Feb 2015 18:08:54 -0800 (PST) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Mon, 23 Feb 2015 20:08:49 -0600 Message-Id: <1424743729-20998-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] validation: queue: clean up test toenable clean termination 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.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 Signed-off-by: Bill Fischofer --- test/validation/odp_queue.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/validation/odp_queue.c b/test/validation/odp_queue.c index 91a32dc..1808055 100644 --- a/test/validation/odp_queue.c +++ b/test/validation/odp_queue.c @@ -103,6 +103,10 @@ static void test_odp_queue_sunnyday(void) odp_buffer_free(enbuf); } + /* Cleanup test by destroying the queue and pool we created */ + CU_ASSERT_EQUAL(odp_queue_destroy(queue_id), 0); + CU_ASSERT_EQUAL(odp_pool_destroy(msg_pool), 0); + return; }