summaryrefslogtreecommitdiff
path: root/automated/linux
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2016-12-15 16:52:50 +0800
committerChase Qi <chase.qi@linaro.org>2016-12-15 16:52:50 +0800
commitd2718697934370e6f9a36528d107cda894fa962c (patch)
treec9a02aa711fcb73906da98f95b8c16ac2907cfd0 /automated/linux
parent389e7455da6d7872fc24f7690f945f0af5c121bc (diff)
downloadtest-definitions-pipe-d2718697934370e6f9a36528d107cda894fa962c.tar.gz
automated: linux: dsdbench: only save stdout to logfile
Because of this bug https://bugs.linaro.org/show_bug.cgi?id=2694, the error message destroys the structure of logfile, and causes parser not working. Change-Id: I76b7b0b71f5427da53e1778e0abc69ac2f180c17 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/linux')
-rwxr-xr-xautomated/linux/dsdbench/dsdbench.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/linux/dsdbench/dsdbench.sh b/automated/linux/dsdbench/dsdbench.sh
index df6510a..e403a40 100755
--- a/automated/linux/dsdbench/dsdbench.sh
+++ b/automated/linux/dsdbench/dsdbench.sh
@@ -42,7 +42,7 @@ cp -r vendor/ "${GOPATH}/src"
if [ "${TEST_SUITE}" = "BENCHMARKS" ]; then
# Run benchmarks.
- DOCKER_GRAPHDRIVER=overlay2 go test -run=NONE -v -bench . 2>&1 \
+ DOCKER_GRAPHDRIVER=overlay2 go test -run=NONE -v -bench . \
| tee "${LOG_FILE}"
# Parse log file.
@@ -51,7 +51,7 @@ if [ "${TEST_SUITE}" = "BENCHMARKS" ]; then
| tee -a "${RESULT_FILE}"
elif [ "${TEST_SUITE}" = "TESTS" ]; then
# Run tests.
- DOCKER_GRAPHDRIVER=overlay2 go test -v . 2>&1 \
+ DOCKER_GRAPHDRIVER=overlay2 go test -v . \
| tee "${LOG_FILE}"
# Parse log file.