Re: [LTP] [LNG][PATCH] Fix ltp realtime hrtimer-prio and measurement to pass default profile to run_c_files.sh

Ciprian Barbu
2014-03-21T11:13:28Z

Hello,

On 10.03.2014 17:14, Ciprian Barbu wrote:
> 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"
>

Sorry if I'm being insistent, has anyone got the chance to look at this
patch? I would like to know if it can be applied to master.

Kind regards,
Ciprian