From patchwork Tue Mar 17 10:31:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 45876 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7A22B21547 for ; Tue, 17 Mar 2015 10:32:27 +0000 (UTC) Received: by labgq15 with SMTP id gq15sf1025116lab.0 for ; Tue, 17 Mar 2015 03:32:26 -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=zRh/a3dV8shHA2/pQXnFw6bEmTv+A8UQOAO2/A8n+UE=; b=RHZZ9kNXGX8DX9Q//hCgSpE29YGKAjzvi4cbF1b4rwnvVvf+Iafp2ApoOcB9b9wZZ7 EzZYs/m0Vhs3ig+JPLtafxkE/C7d3ZALfPzAKLsjwAI3tCNbGElEwkkpznwHun45hbz9 jON5VxoH8Nga4uKOl2z+cV+IKLEJyM1WYTw1Bt5G5RS3m+UEYIvM32RRswtcwM+RluuZ Lh3DGKPG23T0JhaNQbucIxGZLYz7WgIKxovKwILDmSPBtSvKOLGUhPpgriLsmC/XrC5Y zFQXsHOFLA4XT1WbFI3GMF3nS7SME9qaFuq7wF3mQVPC16dzORjnKi3kcJtB9FwdYcaF fKwA== X-Gm-Message-State: ALoCoQkF2iPDX5Iq1kfOcq7f1pDbNtn/o3nCGA1cizSwqaLMoyMd10ofwv6F4IkdHcJ7Nqp+tnUu X-Received: by 10.180.211.199 with SMTP id ne7mr6662629wic.5.1426588346466; Tue, 17 Mar 2015 03:32:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.65 with SMTP id b1ls18632laf.99.gmail; Tue, 17 Mar 2015 03:32:26 -0700 (PDT) X-Received: by 10.152.2.130 with SMTP id 2mr49868389lau.120.1426588346174; Tue, 17 Mar 2015 03:32:26 -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 c4si10184848lah.173.2015.03.17.03.32.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2015 03:32:26 -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 lbbsy1 with SMTP id sy1so3702784lbb.1 for ; Tue, 17 Mar 2015 03:32:26 -0700 (PDT) X-Received: by 10.152.206.70 with SMTP id lm6mr60313884lac.35.1426588346080; Tue, 17 Mar 2015 03:32:26 -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 h5csp411894lbj; Tue, 17 Mar 2015 03:32:25 -0700 (PDT) X-Received: by 10.55.22.168 with SMTP id 40mr71365058qkw.101.1426588344803; Tue, 17 Mar 2015 03:32:24 -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 k66si12757150qhc.94.2015.03.17.03.32.22 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 17 Mar 2015 03:32:24 -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 1YXonM-0006dm-AA; Tue, 17 Mar 2015 10:32:20 +0000 Received: from mail-wi0-f173.google.com ([209.85.212.173]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YXonF-0006dE-01 for lng-odp@lists.linaro.org; Tue, 17 Mar 2015 10:32:13 +0000 Received: by wibdy8 with SMTP id dy8so59320572wib.0 for ; Tue, 17 Mar 2015 03:32:07 -0700 (PDT) X-Received: by 10.180.77.19 with SMTP id o19mr106872880wiw.90.1426588327542; Tue, 17 Mar 2015 03:32:07 -0700 (PDT) Received: from e106441.cambridge.arm.com ([2001:41d0:a:3cb4::1]) by mx.google.com with ESMTPSA id lg18sm1996672wic.23.2015.03.17.03.32.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Mar 2015 03:32:06 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Tue, 17 Mar 2015 10:31:55 +0000 Message-Id: <1426588316-13309-2-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1426588316-13309-1-git-send-email-stuart.haslam@linaro.org> References: <1426588316-13309-1-git-send-email-stuart.haslam@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 2/3] performance: scheduling: catch exit codes 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: stuart.haslam@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 odp_scheduling_run always exits with code 0 so "make check" will never report failures. Signed-off-by: Stuart Haslam --- Change in v2; correct name of executable test/performance/odp_scheduling_run | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/performance/odp_scheduling_run b/test/performance/odp_scheduling_run index 28b0ce5..a96a3d2 100755 --- a/test/performance/odp_scheduling_run +++ b/test/performance/odp_scheduling_run @@ -3,13 +3,17 @@ # Script that passes command line arguments to odp_scheduling test when # launched by 'make check' +ret=0 + run() { echo odp_scheduling_run starts with $1 worker threads echo =============================================== - ./odp_scheduling -c $1 + ./odp_scheduling -c $1 || ret=1 } run 1 run 8 + +exit $ret