Signed-off-by: Ciprian Barbu <ciprian.ba...@linaro.org>

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"
-- 
1.7.9.5


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to