From patchwork Mon Mar 10 15:14:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Barbu X-Patchwork-Id: 25984 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BBBC72055F for ; Mon, 10 Mar 2014 15:14:14 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id j7sf5978513qaq.2 for ; Mon, 10 Mar 2014 08:14:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=EoKHseQqq/C3I3VGefb4Rn14Je+iJIwVgSkE/yfKNnQ=; b=j5f4P1h4Qc0pTCJxx14Adoop91oru9PC+STggSCWwRSL+ztjqc0YRR+GCcVGGp4b01 A/4n0d/gR95QSzJRRqsqI7i5lTPkQRCdoZNmjoscNzIFXQN8aNRDfbiSxXGF4JYZQgRG 8OQ2Gutl775bqBbFale3/PHrOzEwU6iqaucK1cB7+vU4s3tReeG05gkWVKBat0CwjZlH 2pLKGzEZ39svQXfREUIGrqb71kTGWxOJX6pfbvEO2XCij1DbITnU983aJRue6c6O107f s0SzKcMh6hmuNEfc5rYKPPkkHkC7jQFcqMMZaAF8hE59j54i3TTYnK4iNN4nKzZCEwDA dCMg== X-Gm-Message-State: ALoCoQl1vSX8UMoqstTnDd/XSkAlAaU2j9rW1nnB/cDF6HMzgXtMqXJExOCpamERKW137Ab1H9Qm X-Received: by 10.58.235.34 with SMTP id uj2mr11034894vec.11.1394464454276; Mon, 10 Mar 2014 08:14:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.12 with SMTP id t12ls402105qge.1.gmail; Mon, 10 Mar 2014 08:14:14 -0700 (PDT) X-Received: by 10.52.34.137 with SMTP id z9mr2260591vdi.12.1394464454130; Mon, 10 Mar 2014 08:14:14 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id 16si4781974vce.87.2014.03.10.08.14.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:14:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id cz12so7145604veb.35 for ; Mon, 10 Mar 2014 08:14:14 -0700 (PDT) X-Received: by 10.58.229.4 with SMTP id sm4mr23974516vec.10.1394464454058; Mon, 10 Mar 2014 08:14:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.78.9 with SMTP id i9csp125911vck; Mon, 10 Mar 2014 08:14:13 -0700 (PDT) X-Received: by 10.152.26.66 with SMTP id j2mr13265069lag.25.1394464452933; Mon, 10 Mar 2014 08:14:12 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx.google.com with ESMTPS id h8si18615968lam.176.2014.03.10.08.14.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:14:12 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.217.180 is neither permitted nor denied by best guess record for domain of ciprian.barbu@linaro.org) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id 10so4767158lbg.11 for ; Mon, 10 Mar 2014 08:14:12 -0700 (PDT) X-Received: by 10.112.161.133 with SMTP id xs5mr1750372lbb.51.1394464452454; Mon, 10 Mar 2014 08:14:12 -0700 (PDT) Received: from sestofb10.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id vv8sm6418615lbb.13.2014.03.10.08.14.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:14:10 -0700 (PDT) From: Ciprian Barbu To: ltp-list@lists.sourceforge.net Cc: linaro-networking@linaro.org, patches@linaro.org, Ciprian Barbu Subject: [LTP][LNG][PATCH] Fix ltp realtime hrtimer-prio and measurement to pass default profile to run_c_files.sh Date: Mon, 10 Mar 2014 16:14:04 +0100 Message-Id: <1394464444-23803-1-git-send-email-ciprian.barbu@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ciprian.barbu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Ciprian Barbu Upstream-Status: Pending Signed-off-by: ... --- testcases/realtime/func/hrtimer-prio/run_auto.sh | 4 +++- testcases/realtime/func/measurement/run_auto.sh | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/testcases/realtime/func/hrtimer-prio/run_auto.sh b/testcases/realtime/func/hrtimer-prio/run_auto.sh index 366e746..ec3d83a 100644 --- a/testcases/realtime/func/hrtimer-prio/run_auto.sh +++ b/testcases/realtime/func/hrtimer-prio/run_auto.sh @@ -1,5 +1,7 @@ #! /bin/bash +profile=${1:-default} + if [ ! $SCRIPTS_DIR ]; then # assume we're running standalone export SCRIPTS_DIR=../../scripts/ @@ -7,4 +9,4 @@ fi source $SCRIPTS_DIR/setenv.sh -$SCRIPTS_DIR/run_c_files.sh "hrtimer-prio" +$SCRIPTS_DIR/run_c_files.sh $profile "hrtimer-prio" diff --git a/testcases/realtime/func/measurement/run_auto.sh b/testcases/realtime/func/measurement/run_auto.sh index 3011964..439f721 100644 --- a/testcases/realtime/func/measurement/run_auto.sh +++ b/testcases/realtime/func/measurement/run_auto.sh @@ -1,5 +1,7 @@ #! /bin/bash +profile=${1:-default} + if [ ! $SCRIPTS_DIR ]; then # assume we're running standalone export SCRIPTS_DIR=../../scripts/ @@ -13,7 +15,7 @@ source $SCRIPTS_DIR/setenv.sh # issues right now. LOG_FILE="$LOG_DIR/$LOG_FORMAT-rdtsc-latency.log" -$SCRIPTS_DIR/run_c_files.sh "rdtsc-latency" +$SCRIPTS_DIR/run_c_files.sh $profile "rdtsc-latency" LOG_FILE="$LOG_DIR/$LOG_FORMAT-preempt_timing.log" -$SCRIPTS_DIR/run_c_files.sh "preempt_timing" +$SCRIPTS_DIR/run_c_files.sh $profile "preempt_timing"