From patchwork Mon Mar 10 15:12:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Barbu X-Patchwork-Id: 25982 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 98FD42055F for ; Mon, 10 Mar 2014 15:12:35 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id j7sf5990607qaq.6 for ; Mon, 10 Mar 2014 08:12:35 -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=Z0HJ6LrKWyUsk7rsKNX0Pmm1ZDpIN/dnG8adKMOYVLBciTyQ5W426Jlu8ZxmF5WzzK 0cbas5jN4lVIfgYPBPHEFMrLATQLFzoLimA8hXinfUa1Ryux+V53gjmSMgDAebDo32HH XrEL0WNHIeY8/SHAZnSM78KswzSvwmg5AJ/PixNrwYyj5zIoXl/lUT65qoF2eIcwE29/ FFLEDYuRjxiIf2JG/0YpZqaq6dQzvMCg3ICcSUU2fC9rQze1AYxDrQQKTVGBaxXfSri5 81yhCX8FQKzWxSBVftVX9XrlpMJQVsU8C8biw+ljT3P3atLBd1ve9P30ljpXnlNDqDV3 qflA== X-Gm-Message-State: ALoCoQnngf8o+x/VE6DiZZVC/8T3JXV4Ox7L65Od62o0hMpQcz8dbeRswXRFVGY4PetZbCmSuZWJ X-Received: by 10.236.41.234 with SMTP id h70mr12110641yhb.42.1394464355317; Mon, 10 Mar 2014 08:12:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.85 with SMTP id y79ls2042664qgy.92.gmail; Mon, 10 Mar 2014 08:12:35 -0700 (PDT) X-Received: by 10.221.40.10 with SMTP id to10mr4017988vcb.22.1394464355199; Mon, 10 Mar 2014 08:12:35 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id uw4si5474521vdc.105.2014.03.10.08.12.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:12:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 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.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so7271544veb.32 for ; Mon, 10 Mar 2014 08:12:35 -0700 (PDT) X-Received: by 10.220.99.72 with SMTP id t8mr23084531vcn.10.1394464355136; Mon, 10 Mar 2014 08:12:35 -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 i9csp125786vck; Mon, 10 Mar 2014 08:12:34 -0700 (PDT) X-Received: by 10.152.37.137 with SMTP id y9mr1864495laj.8.1394464354252; Mon, 10 Mar 2014 08:12:34 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx.google.com with ESMTPS id qs7si14138419lbb.21.2014.03.10.08.12.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:12:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.217.173 is neither permitted nor denied by best guess record for domain of ciprian.barbu@linaro.org) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id p9so4654944lbv.4 for ; Mon, 10 Mar 2014 08:12:33 -0700 (PDT) X-Received: by 10.152.18.135 with SMTP id w7mr4182645lad.29.1394464353662; Mon, 10 Mar 2014 08:12:33 -0700 (PDT) Received: from sestofb10.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id x4sm21944262lbn.2.2014.03.10.08.12.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 08:12:32 -0700 (PDT) From: Ciprian Barbu To: ltp-list@lists.sourceforge.net Cc: linaro-networking@linaro.org, patches@linaro.org, Ciprian Barbu 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:12:26 +0100 Message-Id: <1394464346-54378-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.173 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"