aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2023-08-01 09:49:37 +0200
committernareshkamboju <naresh.kamboju@gmail.com>2023-08-01 13:32:01 +0530
commit8b9aaacad5d18815a8b84a453ceed6b38c185568 (patch)
tree3b840fcdc2e73b486ebe261190c9c61d9b979d9c
parent1479bf112f3722744fdad0991a11a448a735f0bb (diff)
automated: linux: rcutorture: drop SKIP_INSTALL2023.08.01
No need to have the install step since gunzip isn't used anymore. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-xautomated/linux/rcutorture/rcutorture.sh7
-rw-r--r--automated/linux/rcutorture/rcutorture.yaml3
2 files changed, 3 insertions, 7 deletions
diff --git a/automated/linux/rcutorture/rcutorture.sh b/automated/linux/rcutorture/rcutorture.sh
index a75b90fd..86a109b3 100755
--- a/automated/linux/rcutorture/rcutorture.sh
+++ b/automated/linux/rcutorture/rcutorture.sh
@@ -5,17 +5,15 @@ OUTPUT="${TEST_DIR}/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
LOGFILE="${OUTPUT}/dmesg-rcutorture.txt"
-SKIP_INSTALL="false"
TORTURE_TIME="600"
usage() {
- echo "Usage: $0 [-s <skip_install>] [-t <rcutorture_time>]" 1>&2
+ echo "Usage: $0 [-t <rcutorture_time>]" 1>&2
exit 1
}
-while getopts ':s:t:' opt; do
+while getopts ':t:' opt; do
case "${opt}" in
- s) SKIP_INSTALL="${OPTARG}" ;;
t) TORTURE_TIME="${OPTARG}" ;;
*) usage ;;
esac
@@ -25,7 +23,6 @@ done
. "${TEST_DIR}/../../lib/sh-test-lib"
! check_root && error_msg "Please run this script as root."
-install_deps "gzip" "${SKIP_INSTALL}"
create_out_dir "${OUTPUT}"
# Insert rcutoruture kernel module.
diff --git a/automated/linux/rcutorture/rcutorture.yaml b/automated/linux/rcutorture/rcutorture.yaml
index 51ab0ac0..3e083e56 100644
--- a/automated/linux/rcutorture/rcutorture.yaml
+++ b/automated/linux/rcutorture/rcutorture.yaml
@@ -27,11 +27,10 @@ metadata:
- functional
params:
- SKIP_INSTALL: "false"
TORTURE_TIME: 600
run:
steps:
- cd automated/linux/rcutorture
- - ./rcutorture.sh -s "${SKIP_INSTALL}" -t "${TORTURE_TIME}"
+ - ./rcutorture.sh -t "${TORTURE_TIME}"
- ../../utils/send-to-lava.sh ./output/result.txt