From patchwork Mon Mar 10 15:06:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Barbu X-Patchwork-Id: 25974 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DBC902055F for ; Mon, 10 Mar 2014 15:06:48 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rl12sf28776298iec.10 for ; Mon, 10 Mar 2014 08:06:48 -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=CcNKUXuYc7u2soiKi2n4Nm/18i/9V7lsnbJHLbROIelT9WIRnBV7iZwrArV88Rmjx1 0nWmgnlTvLe9NNcZLydknXkzR+0P7SVGVkIHGbq/H1UwYbEHwoh+fN79eL2aTn+a8cLZ tj6NoNrzP+xTiatM+Ekdd4AafXe/NXUCxYpZ5c3Pcy6rZoCt1cvG5QsoGwfG01SpfKuU gEVHeip4Vy2PHFa05vZu9rdd2jRODzt3EBgBojtwqOcfxHjCCDIO9CCo2f3+tn681SIq +4EQsUbRR4TBlbQO+4J5nC4tLAbRmLHHYEeH70e2TB8C7RzjNC43NaAeq0nbu8Om2gJp wQlg== X-Gm-Message-State: ALoCoQlQrSEEa2xtlavebFin9tvBQ1ka0KKJMt3VT2z/CQAr5jcgHzw5dnb4FzGkK5GGsaTcauex X-Received: by 10.182.52.136 with SMTP id t8mr13261872obo.41.1394464008355; Mon, 10 Mar 2014 08:06:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.120 with SMTP id y111ls1847341qgd.0.gmail; Mon, 10 Mar 2014 08:06:48 -0700 (PDT) X-Received: by 10.221.29.137 with SMTP id ry9mr1780368vcb.6.1394464008234; Mon, 10 Mar 2014 08:06:48 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id xb4si1791648vdc.25.2014.03.10.08.06.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:06:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 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.182; Received: by mail-ve0-f182.google.com with SMTP id jw12so7293428veb.13 for ; Mon, 10 Mar 2014 08:06:48 -0700 (PDT) X-Received: by 10.220.164.80 with SMTP id d16mr22593977vcy.15.1394464008169; Mon, 10 Mar 2014 08:06:48 -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 i9csp125382vck; Mon, 10 Mar 2014 08:06:47 -0700 (PDT) X-Received: by 10.152.42.230 with SMTP id r6mr2009000lal.32.1394464006991; Mon, 10 Mar 2014 08:06:46 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx.google.com with ESMTPS id h4si18644792lae.34.2014.03.10.08.06.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:06:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.54 is neither permitted nor denied by best guess record for domain of ciprian.barbu@linaro.org) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id mc6so4843093lab.27 for ; Mon, 10 Mar 2014 08:06:46 -0700 (PDT) X-Received: by 10.152.225.70 with SMTP id ri6mr23610488lac.26.1394464006383; Mon, 10 Mar 2014 08:06:46 -0700 (PDT) Received: from sestofb10.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id x4sm21930275lbn.2.2014.03.10.08.06.44 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:06:45 -0700 (PDT) From: Ciprian Barbu To: ciprian.barbu@linaro.org Cc: ltp-list@lists.sourceforge.net, linaro-networking@linaro.org, patches@linaro.org Subject: [LNG][PATCH] Fix ltp realtime hrtimer-prio and measurement to pass default profile to run_c_files.sh Date: Mon, 10 Mar 2014 16:06:37 +0100 Message-Id: <1394463997-14528-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.182 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 --- 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"