public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [LNG][PATCH] Fix ltp realtime hrtimer-prio and measurement to pass default profile to run_c_files.sh
@ 2014-03-10 15:14 Ciprian Barbu
  2014-03-21 10:49 ` Ciprian Barbu
  2014-03-26 15:44 ` chrubis
  0 siblings, 2 replies; 6+ messages in thread
From: Ciprian Barbu @ 2014-03-10 15:14 UTC (permalink / raw)
  To: ltp-list; +Cc: linaro-networking

Signed-off-by: Ciprian Barbu <ciprian.barbu@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [LTP] [LNG][PATCH] Fix ltp realtime hrtimer-prio and measurement to pass default profile to run_c_files.sh
@ 2014-03-10 15:12 Ciprian Barbu
  0 siblings, 0 replies; 6+ messages in thread
From: Ciprian Barbu @ 2014-03-10 15:12 UTC (permalink / raw)
  To: ltp-list; +Cc: linaro-networking

Signed-off-by: Ciprian Barbu <ciprian.barbu@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [LTP] [LNG][PATCH] Fix ltp realtime hrtimer-prio and measurement to pass default profile to run_c_files.sh
@ 2014-03-10 15:06 Ciprian Barbu
  0 siblings, 0 replies; 6+ messages in thread
From: Ciprian Barbu @ 2014-03-10 15:06 UTC (permalink / raw)
  To: ciprian.barbu; +Cc: ltp-list, linaro-networking

Signed-off-by: Ciprian Barbu <ciprian.barbu@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-26 15:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 15:14 [LTP] [LNG][PATCH] Fix ltp realtime hrtimer-prio and measurement to pass default profile to run_c_files.sh Ciprian Barbu
2014-03-21 10:49 ` Ciprian Barbu
2014-03-24 14:24   ` chrubis
2014-03-26 15:44 ` chrubis
  -- strict thread matches above, loose matches on Subject: below --
2014-03-10 15:12 Ciprian Barbu
2014-03-10 15:06 Ciprian Barbu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox