From patchwork Thu Dec 4 08:34:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 41912 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E12FC25E8C for ; Thu, 4 Dec 2014 08:43:54 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e53sf10711779eek.3 for ; Thu, 04 Dec 2014 00:43:53 -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=y34nAArG/suOVgHCZPauhuZ/hKYXCSUjyn8ZK9lIPzo=; b=FJ0UN0b0ERGwzG+8F83gSNtKv+ttRK+LMZ9VaoXpqFrvLW794hwrHwcVgXpW3jg30G t1crGP2Xa741JUbtbTixv/tbJ+N3y91MDoV3g9quIdKMxpMSKCkunwGfBcddUCR98yiC Cjrak9WHxpG4AEjlj5EYDdWUQsFnlge6fs8mUVUPCcG+F25Imh7gRWc1nCWfvmMJyZJR HcWDIhhw4lm9lEdNnVjIjGfFJOlB8Gfs4D3Y0ZRe7SaaXKSmg9kamblhnq4gWhL7JZ5R bTRPNpxpTGGmfYsj3hd2S1btp3GtJ6Jtz4FbtZ2CQvmlVBiLm8zH8bnEfW8Dw3IDpumi UDHg== X-Gm-Message-State: ALoCoQlKSmat2vD75f47HOta8Yn87m8/PJI4AipzGKglFzPnIty4GKPoQO6bti+AGuzQZ+etzxJm X-Received: by 10.112.40.71 with SMTP id v7mr121519lbk.20.1417682633832; Thu, 04 Dec 2014 00:43:53 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.200 with SMTP id n8ls250630lag.10.gmail; Thu, 04 Dec 2014 00:43:53 -0800 (PST) X-Received: by 10.112.151.104 with SMTP id up8mr1279367lbb.21.1417682633690; Thu, 04 Dec 2014 00:43:53 -0800 (PST) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id v20si25241453laz.0.2014.12.04.00.43.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 00:43:53 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id gm9so14198000lab.12 for ; Thu, 04 Dec 2014 00:43:53 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr8164262lad.44.1417682633573; Thu, 04 Dec 2014 00:43:53 -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.184.201 with SMTP id ew9csp848lbc; Thu, 4 Dec 2014 00:43:52 -0800 (PST) X-Received: by 10.140.19.9 with SMTP id 9mr14845419qgg.98.1417682132058; Thu, 04 Dec 2014 00:35:32 -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 d4si30708981qar.58.2014.12.04.00.35.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 04 Dec 2014 00:35:32 -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 1XwRsJ-0002Le-Q6; Thu, 04 Dec 2014 08:34:59 +0000 Received: from mail-lb0-f171.google.com ([209.85.217.171]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XwRsD-0002LZ-UO for lng-odp@lists.linaro.org; Thu, 04 Dec 2014 08:34:54 +0000 Received: by mail-lb0-f171.google.com with SMTP id n15so13587986lbi.2 for ; Thu, 04 Dec 2014 00:34:48 -0800 (PST) X-Received: by 10.152.18.130 with SMTP id w2mr1682070lad.1.1417682088292; Thu, 04 Dec 2014 00:34:48 -0800 (PST) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id r4sm7039547lar.3.2014.12.04.00.34.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 00:34:47 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Thu, 4 Dec 2014 10:34:42 +0200 Message-Id: <1417682082-17597-1-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Topics: patch Subject: [lng-odp] [PATCH] validation: common: fix application exit status 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.53 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 An exit status of 77 from a test application will denote a skipped test for automake. So if exactly 77 failed we'd get a wrong result. Just return -1 if any failure detected. Reported-by: Stuart Haslam Signed-off-by: Taras Kondratiuk --- Automake test manual: http://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html --- test/validation/common/odp_cunit_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c index 14ba840..5ae457d 100644 --- a/test/validation/common/odp_cunit_common.c +++ b/test/validation/common/odp_cunit_common.c @@ -75,5 +75,5 @@ int main(void) odp_term_local(); odp_term_global(); - return ret; + return (ret) ? -1 : 0; }