deleted file mode 100644
@@ -1,12 +0,0 @@
-#! /bin/bash
-
-if [ ! $SCRIPTS_DIR ]; then
- # assume we're running standalone
- export SCRIPTS_DIR=../../scripts/
-fi
-
-source $SCRIPTS_DIR/setenv.sh
-
-$SCRIPTS_DIR/run_c_files.sh "hrtimer-prio"
-
-
new file mode 100644
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+if [ ! $SCRIPTS_DIR ]; then
+ # assume we're running standalone
+ export SCRIPTS_DIR=../../scripts/
+fi
+
+source $SCRIPTS_DIR/setenv.sh
+
+$SCRIPTS_DIR/run_c_files.sh "hrtimer-prio"
deleted file mode 100644
@@ -1,19 +0,0 @@
-#! /bin/bash
-
-if [ ! $SCRIPTS_DIR ]; then
- # assume we're running standalone
- export SCRIPTS_DIR=../../scripts/
-fi
-
-source $SCRIPTS_DIR/setenv.sh
-
-
-# This is a temporary workaround for previous
-# loop support patch which seems to be having
-# issues right now.
-
-LOG_FILE="$LOG_DIR/$LOG_FORMAT-rdtsc-latency.log"
-$SCRIPTS_DIR/run_c_files.sh "rdtsc-latency"
-
-LOG_FILE="$LOG_DIR/$LOG_FORMAT-preempt_timing.log"
-$SCRIPTS_DIR/run_c_files.sh "preempt_timing"
new file mode 100644
@@ -0,0 +1,19 @@
+#! /bin/bash
+
+if [ ! $SCRIPTS_DIR ]; then
+ # assume we're running standalone
+ export SCRIPTS_DIR=../../scripts/
+fi
+
+source $SCRIPTS_DIR/setenv.sh
+
+
+# This is a temporary workaround for previous
+# loop support patch which seems to be having
+# issues right now.
+
+LOG_FILE="$LOG_DIR/$LOG_FORMAT-rdtsc-latency.log"
+$SCRIPTS_DIR/run_c_files.sh "rdtsc-latency"
+
+LOG_FILE="$LOG_DIR/$LOG_FORMAT-preempt_timing.log"
+$SCRIPTS_DIR/run_c_files.sh "preempt_timing"
deleted file mode 100755
@@ -1,45 +0,0 @@
-#! /bin/bash
-
-if [ ! $SCRIPTS_DIR ]; then
- # assume we're running standalone
- export SCRIPTS_DIR=../../scripts/
-fi
-
-source $SCRIPTS_DIR/setenv.sh
-LOG_FILE="$LOG_DIR/$LOG_FORMAT-pthread_cond_many.log"
-
-echo -e "Logging to: " | tee -a $LOG_FILE
-echo -e "$LOG_FILE " | tee -a $LOG_FILE
-echo -e "and to local individual .out files " | tee -a $LOG_FILE
-
-#
-# make will eventually go away from here, as will the above echoes
-#
-make
-
-#
-# Test lots of threads. Specify "--realtime" if you want the first
-# process to run realtime. The remainder of the processes (if any)
-# will run non-realtime in any case.
-
-nthread=5000
-iter=400
-nproc=5
-
-echo -e "pthread_cond_many configuration:" | tee -a $LOG_FILE
-echo -e "number of threads = $nthread " | tee -a $LOG_FILE
-echo -e "number of iterations = $iter " | tee -a $LOG_FILE
-echo -e "number of processes = $nproc " | tee -a $LOG_FILE
-
-# Remove any existing local log files
-rm -f $nthread.$iter.$nproc.*.out
-
-i=0
-./pthread_cond_many --realtime --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
-i=1
-while test $i -lt $nproc
-do
- ./pthread_cond_many --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
- i=`expr $i + 1`
-done
-wait
new file mode 100755
@@ -0,0 +1,45 @@
+#! /bin/bash
+
+if [ ! $SCRIPTS_DIR ]; then
+ # assume we're running standalone
+ export SCRIPTS_DIR=../../scripts/
+fi
+
+source $SCRIPTS_DIR/setenv.sh
+LOG_FILE="$LOG_DIR/$LOG_FORMAT-pthread_cond_many.log"
+
+echo -e "Logging to: " | tee -a $LOG_FILE
+echo -e "$LOG_FILE " | tee -a $LOG_FILE
+echo -e "and to local individual .out files " | tee -a $LOG_FILE
+
+#
+# make will eventually go away from here, as will the above echoes
+#
+make
+
+#
+# Test lots of threads. Specify "--realtime" if you want the first
+# process to run realtime. The remainder of the processes (if any)
+# will run non-realtime in any case.
+
+nthread=5000
+iter=400
+nproc=5
+
+echo -e "pthread_cond_many configuration:" | tee -a $LOG_FILE
+echo -e "number of threads = $nthread " | tee -a $LOG_FILE
+echo -e "number of iterations = $iter " | tee -a $LOG_FILE
+echo -e "number of processes = $nproc " | tee -a $LOG_FILE
+
+# Remove any existing local log files
+rm -f $nthread.$iter.$nproc.*.out
+
+i=0
+./pthread_cond_many --realtime --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
+i=1
+while test $i -lt $nproc
+do
+ ./pthread_cond_many --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
+ i=`expr $i + 1`
+done
+wait
Rename run.sh to run_auto.sh in accordance to all other func tests and remove unnecessary whitespaces newlines at the end of file to prevent git am warning. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- testcases/realtime/func/hrtimer-prio/run.sh | 12 ------ testcases/realtime/func/hrtimer-prio/run_auto.sh | 10 +++++ testcases/realtime/func/measurement/run.sh | 19 --------- testcases/realtime/func/measurement/run_auto.sh | 19 +++++++++ testcases/realtime/perf/latency/run.sh | 45 ---------------------- testcases/realtime/perf/latency/run_auto.sh | 45 ++++++++++++++++++++++ 6 files changed, 74 insertions(+), 76 deletions(-) delete mode 100644 testcases/realtime/func/hrtimer-prio/run.sh create mode 100644 testcases/realtime/func/hrtimer-prio/run_auto.sh delete mode 100644 testcases/realtime/func/measurement/run.sh create mode 100644 testcases/realtime/func/measurement/run_auto.sh delete mode 100755 testcases/realtime/perf/latency/run.sh create mode 100755 testcases/realtime/perf/latency/run_auto.sh