rt-tests: Remove MAX_LATENCY argument
It's better to do any performance measurement in post processing. This
keeps the test scripts simpler and splits the tasks clearly.
While at it, remove the unused cyclictest format parsing from
parse_rt_tests_results since it is not used anymore.
Signed-off-by: Daniel Wagner <wagi@suse.de>
diff --git a/automated/linux/sigwaittest/sigwaittest.sh b/automated/linux/sigwaittest/sigwaittest.sh
index 7293e52..8e87340 100755
--- a/automated/linux/sigwaittest/sigwaittest.sh
+++ b/automated/linux/sigwaittest/sigwaittest.sh
@@ -10,18 +10,16 @@
LOGFILE="${OUTPUT}/sigwaittest.log"
RESULT_FILE="${OUTPUT}/result.txt"
DURATION="5m"
-MAX_LATENCY="100"
BACKGROUND_CMD=""
usage() {
- echo "Usage: $0 [-D duration] [-m latency] [-w background_cmd]" 1>&2
+ echo "Usage: $0 [-D duration] [-w background_cmd]" 1>&2
exit 1
}
-while getopts ":D:m:w:" opt; do
+while getopts ":D:w:" opt; do
case "${opt}" in
D) DURATION="${OPTARG}" ;;
- m) MAX_LATENCY="${OPTARG}" ;;
w) BACKGROUND_CMD="${OPTARG}" ;;
*) usage ;;
esac
@@ -46,5 +44,5 @@
background_process_stop bgcmd
# Parse test log.
-../../lib/parse_rt_tests_results.py sigwaittest "${LOGFILE}" "${MAX_LATENCY}" \
+../../lib/parse_rt_tests_results.py sigwaittest "${LOGFILE}" \
| tee -a "${RESULT_FILE}"