From: Anders Roxell <anders.roxell@linaro.org>
To: ltp-list@lists.sourceforge.net
Cc: patches@linaro.org
Subject: [LTP] [PATCH 1/6] realtime/(func|perf)/: rename run.sh to run_auto.sh
Date: Mon, 5 Aug 2013 21:02:54 +0200 [thread overview]
Message-ID: <1375729379-16469-2-git-send-email-anders.roxell@linaro.org> (raw)
In-Reply-To: <1375729379-16469-1-git-send-email-anders.roxell@linaro.org>
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
diff --git a/testcases/realtime/func/hrtimer-prio/run.sh b/testcases/realtime/func/hrtimer-prio/run.sh
deleted file mode 100644
index b45e76b..0000000
--- a/testcases/realtime/func/hrtimer-prio/run.sh
+++ /dev/null
@@ -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"
-
-
diff --git a/testcases/realtime/func/hrtimer-prio/run_auto.sh b/testcases/realtime/func/hrtimer-prio/run_auto.sh
new file mode 100644
index 0000000..366e746
--- /dev/null
+++ b/testcases/realtime/func/hrtimer-prio/run_auto.sh
@@ -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"
diff --git a/testcases/realtime/func/measurement/run.sh b/testcases/realtime/func/measurement/run.sh
deleted file mode 100644
index 3011964..0000000
--- a/testcases/realtime/func/measurement/run.sh
+++ /dev/null
@@ -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"
diff --git a/testcases/realtime/func/measurement/run_auto.sh b/testcases/realtime/func/measurement/run_auto.sh
new file mode 100644
index 0000000..3011964
--- /dev/null
+++ b/testcases/realtime/func/measurement/run_auto.sh
@@ -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"
diff --git a/testcases/realtime/perf/latency/run.sh b/testcases/realtime/perf/latency/run.sh
deleted file mode 100755
index 2c0d203..0000000
--- a/testcases/realtime/perf/latency/run.sh
+++ /dev/null
@@ -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
diff --git a/testcases/realtime/perf/latency/run_auto.sh b/testcases/realtime/perf/latency/run_auto.sh
new file mode 100755
index 0000000..2c0d203
--- /dev/null
+++ b/testcases/realtime/perf/latency/run_auto.sh
@@ -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
--
1.7.10.4
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-08-05 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-05 19:02 [LTP] [PATCHv2 0/6] update make install when enable realtime test suite Anders Roxell
2013-08-05 19:02 ` Anders Roxell [this message]
2013-08-05 19:02 ` [LTP] [PATCH 2/6] added run_auto.sh to install targets for realtime tests Anders Roxell
2013-08-05 19:02 ` [LTP] [PATCH 3/6] realtime tests: added additional install targets Anders Roxell
2013-08-05 19:02 ` [LTP] [PATCH 4/6] realtime tests: created Makefiles for profiles/scripts Anders Roxell
2013-08-05 19:02 ` [LTP] [PATCH 5/6] realtime: only build tests if needed Anders Roxell
2013-08-05 19:02 ` [LTP] [PATCH 6/6] Remove reference to "java", missed in commit 78596957 Anders Roxell
2013-08-06 1:11 ` [LTP] [PATCHv2 0/6] update make install when enable realtime test suite Wanlong Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1375729379-16469-2-git-send-email-anders.roxell@linaro.org \
--to=anders.roxell@linaro.org \
--cc=ltp-list@lists.sourceforge.net \
--cc=patches@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox