diff options
author | Botao Sun <botao.sun@linaro.org> | 2014-10-23 18:25:16 +1100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-11-13 14:52:08 +0000 |
commit | 74ff4a60e70dd187d8cb3a1efe29d981297860f2 (patch) | |
tree | 2c2289fef15834827671113c52832bc09a96938f /common | |
parent | b4dd4c864a37c6cfd23bdee324b9d88a9719542d (diff) |
test-rt-tests.sh and test-rt-parse.sh
Add Shebang and license declaration.
Signed-off by: Botao Sun <botao.sun@linaro.org>
Change-Id: I0ecb0b0290a4dad131b564632279d87f89c2754d
Diffstat (limited to 'common')
-rwxr-xr-x | common/scripts/kvm/test-rt-parse.sh | 19 | ||||
-rwxr-xr-x | common/scripts/kvm/test-rt-tests.sh | 20 |
2 files changed, 39 insertions, 0 deletions
diff --git a/common/scripts/kvm/test-rt-parse.sh b/common/scripts/kvm/test-rt-parse.sh index 3e833d5..eca64d0 100755 --- a/common/scripts/kvm/test-rt-parse.sh +++ b/common/scripts/kvm/test-rt-parse.sh @@ -1,4 +1,22 @@ #!/bin/sh +# +# Copyright (C) 2010 - 2014, Linaro Limited. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# Maintainer: Riku Voipio <riku.voipio@linaro.org> if [ -f ./common/scripts/min_max_avg_parse.py ] then @@ -7,6 +25,7 @@ elif [-f /root/min_max_avg_parse.py ] then PARSE_SCRIPT=/root/min_max_avg_parse.py fi + for FILE in *.txt do $PARSE_SCRIPT $FILE "Time:" "Seconds" diff --git a/common/scripts/kvm/test-rt-tests.sh b/common/scripts/kvm/test-rt-tests.sh index e378c9d..dc6bd61 100755 --- a/common/scripts/kvm/test-rt-tests.sh +++ b/common/scripts/kvm/test-rt-tests.sh @@ -1,3 +1,23 @@ +#!/bin/sh +# +# Copyright (C) 2010 - 2014, Linaro Limited. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# Maintainer: Riku Voipio <riku.voipio@linaro.org> + /usr/bin/hackbench 100 process 500 | tee $1_hackbench_l500_p_g100_res.txt /usr/bin/hackbench 100 process 500 | tee -a $1_hackbench_l500_p_g100_res.txt /usr/bin/hackbench 100 process 500 | tee -a $1_hackbench_l500_p_g100_res.txt |