From patchwork Mon Mar 16 11:48:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 45831 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D1BF521523 for ; Mon, 16 Mar 2015 11:49:29 +0000 (UTC) Received: by wggy19 with SMTP id y19sf26080326wgg.2 for ; Mon, 16 Mar 2015 04:49:29 -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=8BllAwDYonbdclpYaF2VYMW4DUtbp/XnymPgmNZrHVI=; b=ajRDRTpHBoCvaPWL+DwjTGGGFuYLCdA/qW7ospHYnLkceGDQRTpdH8sLW6i4kEdLhC U8nbYmTf4ie0+uuKowaJ7OFzu7HluWqr7GzRB235bgnD4++3ZLmlvB1mlyUBN0GrU201 508gTsYibetS87dJeuDEUu7PilR6gN0NwHcPfoC15JBzbyOYsHJOwho+kKi0ivt/01tW YiqZfkaSEpO1e7d3rQr0rgUAkcL3i9FB1J2BwjzbNFn9yOHrfiWH9pwMlwpVTBHxoBXA n+A/ONzwrPGj7W9YqBmQhkwj0z9S8d7qaZgLzJnWvnCZ3LHdCK3Qonr+aWe/drCtgZ/D sWZA== X-Gm-Message-State: ALoCoQk76BVoe2EthcoCpR+wefUQkEcTPk5L/NvZBS/ktqIoXCaEPNbZ0U2+InkCXFsl7zkVo6vS X-Received: by 10.152.45.7 with SMTP id i7mr9104360lam.9.1426506569037; Mon, 16 Mar 2015 04:49:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.50 with SMTP id bd18ls682198lab.108.gmail; Mon, 16 Mar 2015 04:49:28 -0700 (PDT) X-Received: by 10.152.204.42 with SMTP id kv10mr47890955lac.52.1426506568858; Mon, 16 Mar 2015 04:49:28 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id q19si7911325lal.71.2015.03.16.04.49.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Mar 2015 04:49:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by ladw1 with SMTP id w1so37122471lad.0 for ; Mon, 16 Mar 2015 04:49:28 -0700 (PDT) X-Received: by 10.152.28.5 with SMTP id x5mr53926966lag.112.1426506568739; Mon, 16 Mar 2015 04:49:28 -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 h5csp2525640lbj; Mon, 16 Mar 2015 04:49:28 -0700 (PDT) X-Received: by 10.140.85.9 with SMTP id m9mr72398702qgd.7.1426506564591; Mon, 16 Mar 2015 04:49: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 65si9663632qkx.2.2015.03.16.04.49.23 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 16 Mar 2015 04:49: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 1YXTWG-0001pX-LV; Mon, 16 Mar 2015 11:49:16 +0000 Received: from mail-we0-f179.google.com ([74.125.82.179]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YXTW8-0001nG-Mq for lng-odp@lists.linaro.org; Mon, 16 Mar 2015 11:49:08 +0000 Received: by weop45 with SMTP id p45so10925948weo.0 for ; Mon, 16 Mar 2015 04:49:03 -0700 (PDT) X-Received: by 10.194.75.193 with SMTP id e1mr118642912wjw.126.1426506543274; Mon, 16 Mar 2015 04:49:03 -0700 (PDT) Received: from e106441.cambridge.arm.com ([2001:41d0:a:3cb4::1]) by mx.google.com with ESMTPSA id q10sm15030144wjr.41.2015.03.16.04.49.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Mar 2015 04:49:02 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Mon, 16 Mar 2015 11:48:46 +0000 Message-Id: <1426506527-8228-2-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1426506527-8228-1-git-send-email-stuart.haslam@linaro.org> References: <1426506527-8228-1-git-send-email-stuart.haslam@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 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.215.41 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 --- 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..738963e 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_schedling -c $1 || ret=1 } run 1 run 8 + +exit $ret