summaryrefslogtreecommitdiff
path: root/automated/linux/hackbench/hackbench.sh
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2017-02-15 18:56:15 -0600
committerDaniel Díaz <daniel.diaz@linaro.org>2017-02-18 11:42:44 -0600
commit6f49a1bbb11e50165dd17c4f67f49d8f10c01144 (patch)
tree187cc518529689b3bed0c284f9fe7b7de1d22a6c /automated/linux/hackbench/hackbench.sh
parent2dbdbea604bb139a8e5ad279bbe0d8d3e924fb22 (diff)
automated: use create_out_dir where appropriate
Change-Id: I10181a7d1ebc53491085d80d67f0cd8f9e43071d Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'automated/linux/hackbench/hackbench.sh')
-rwxr-xr-xautomated/linux/hackbench/hackbench.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/hackbench/hackbench.sh b/automated/linux/hackbench/hackbench.sh
index 80eb1e8..48ded0f 100755
--- a/automated/linux/hackbench/hackbench.sh
+++ b/automated/linux/hackbench/hackbench.sh
@@ -32,8 +32,7 @@ while getopts "i:t:s:l:g:f:p:T:h" o; do
esac
done
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
TEST_LOG="${OUTPUT}/hackbench-output-${TARGET}.txt"
# Determine hackbench test options.