From patchwork Mon Dec 29 16:53:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 42648 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C82DF25B8B for ; Mon, 29 Dec 2014 16:54:32 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id bs8sf8281966wib.6 for ; Mon, 29 Dec 2014 08:54:32 -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=rNaAzJrPdtFi/DXrvhriRPRMWRJsdkUlyCWuz5g+Hc0=; b=Krn+RY53uPzGPlpezBcl/UVNCbljksJKMzrb5JbyV0YtimAQjTfMrEehJDAs114lBX +DBJrneyCWORlBGcNxVUrzlHcsLBh9S1wzBSayVb53COzMHzkK/QW7R2sct0rF25+WLJ Yr9VAvvDJvn9jXuW7jtZv4DVaFzbWBhhYzClj52I/HlAtyqGfcItL+dHZKkwsV439nTE P1QusksQ0sW47HEMEZbTxIu0QYn1m6NQkzJ9fcytYS7VoVydUxq5yrdibiz2mmaNHaoe jwGn9brtSsoB9XYSqZB6pFF0sphg5EdIl2eS0nkOaLeOVS9gR/Kqb8HONGtclM/1ulRh 8uAA== X-Gm-Message-State: ALoCoQnYDraS51DT/ewpJKj5H2ANhK/mbK9KBeLAwWUX6RYqnIodGNfrzL4QPwTGn5Eru9XzcFQQ X-Received: by 10.152.6.202 with SMTP id d10mr1685laa.10.1419872071995; Mon, 29 Dec 2014 08:54:31 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.232 with SMTP id m8ls1952623laa.45.gmail; Mon, 29 Dec 2014 08:54:31 -0800 (PST) X-Received: by 10.112.235.137 with SMTP id um9mr57974709lbc.41.1419872071848; Mon, 29 Dec 2014 08:54:31 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id o8si40120722laj.121.2014.12.29.08.54.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Dec 2014 08:54:31 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id gf13so11719715lab.35 for ; Mon, 29 Dec 2014 08:54:31 -0800 (PST) X-Received: by 10.112.159.129 with SMTP id xc1mr57781163lbb.24.1419872071761; Mon, 29 Dec 2014 08:54:31 -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.142.69 with SMTP id ru5csp2836470lbb; Mon, 29 Dec 2014 08:54:31 -0800 (PST) X-Received: by 10.140.33.195 with SMTP id j61mr47987338qgj.4.1419872070083; Mon, 29 Dec 2014 08:54:30 -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 5si40739320qgf.115.2014.12.29.08.54.29 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 29 Dec 2014 08:54:30 -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 1Y5daN-00039e-HP; Mon, 29 Dec 2014 16:54:27 +0000 Received: from mail-lb0-f178.google.com ([209.85.217.178]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y5da9-00038R-FT for lng-odp@lists.linaro.org; Mon, 29 Dec 2014 16:54:13 +0000 Received: by mail-lb0-f178.google.com with SMTP id f15so12543877lbj.37 for ; Mon, 29 Dec 2014 08:54:07 -0800 (PST) X-Received: by 10.112.14.6 with SMTP id l6mr58431648lbc.91.1419872047748; Mon, 29 Dec 2014 08:54:07 -0800 (PST) Received: from condor-x220.synapse.com ([80.77.38.170]) by mx.google.com with ESMTPSA id vu9sm10059787lbb.36.2014.12.29.08.54.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Dec 2014 08:54:07 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Mon, 29 Dec 2014 18:53:55 +0200 Message-Id: <1419872035-12731-3-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] validation: init: don't execute termination if init failed 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: taras.kondratiuk@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.48 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: Taras Kondratiuk Reviewed-by: Anders Roxell --- test/validation/odp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/odp_init.c b/test/validation/odp_init.c index 5a17ce9..5277d68 100644 --- a/test/validation/odp_init.c +++ b/test/validation/odp_init.c @@ -14,7 +14,7 @@ static void test_odp_init_global(void) { int status; status = odp_init_global(NULL, NULL); - CU_ASSERT(status == 0); + CU_ASSERT_FATAL(status == 0); status = odp_term_global(); CU_ASSERT(status == 0);