summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-09-30 04:45:37 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2016-09-30 04:45:37 +0530
commit784be354dd4f4df66311ca18941d14f20d197a21 (patch)
tree3cfbed982d32ff512d14c4ce45c65247df5fabc1
parent81869dc3fd36396caae48e8b4429ada65e4e8109 (diff)
Revert "ltp: debug results"
This reverts commit cd39cab0334fd4c23db5af3e8dad827cb386a83b.
-rwxr-xr-xautomated/lib/sh-test-lib2
-rwxr-xr-xautomated/linux/ltp/ltp.sh1
-rw-r--r--automated/linux/ltp/ltp.yaml4
3 files changed, 1 insertions, 6 deletions
diff --git a/automated/lib/sh-test-lib b/automated/lib/sh-test-lib
index 10cc58b..fca1153 100755
--- a/automated/lib/sh-test-lib
+++ b/automated/lib/sh-test-lib
@@ -65,7 +65,7 @@ add_metric() {
local measurement="$3"
local units="$4"
- echo "${test} ${result} ${measurement} ${units}" | tee -a "${RESULT_FILE_2}"
+ echo "${test} ${result} ${measurement} ${units}" | tee -a "${RESULT_FILE}"
}
dist_name() {
diff --git a/automated/linux/ltp/ltp.sh b/automated/linux/ltp/ltp.sh
index f0a255f..393b930 100755
--- a/automated/linux/ltp/ltp.sh
+++ b/automated/linux/ltp/ltp.sh
@@ -3,7 +3,6 @@
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
-RESULT_FILE_2="${OUTPUT}/result-2.txt"
# Absolute path to this script. /home/user/bin/foo.sh
SCRIPT="$(readlink -f $0)"
# Absolute path this script is in. /home/user/bin
diff --git a/automated/linux/ltp/ltp.yaml b/automated/linux/ltp/ltp.yaml
index 0173623..f48d4f3 100644
--- a/automated/linux/ltp/ltp.yaml
+++ b/automated/linux/ltp/ltp.yaml
@@ -35,10 +35,6 @@ run:
- cd ./automated/linux/ltp/
- ./ltp.sh -T "${TST_CMDFILES}" -S "${SKIPFILE}" -s "${SKIP_INSTALL}" -v "${LTP_VERSION}"
- ../../utils/send-to-lava.sh ./output/result.txt
- - ../../utils/send-to-lava.sh ./output/result-2.txt
- - cat ./output/result.txt
- - cat ./output/result-2.txt
-
parse:
pattern: "^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>PASS|FAIL|CONF)\\s+\\d+"