aboutsummaryrefslogtreecommitdiff
path: root/jdk8-terasort-benchmark-persist-results.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2016-08-23 14:55:05 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2016-08-23 14:55:05 +0100
commit31f029efced21948ac12c4b428645ac5d6b37113 (patch)
treed5c535218e3968dead4ef91001d426fcfb9387c0 /jdk8-terasort-benchmark-persist-results.yaml
parentcc4ce334c2302387d8a645c514ecaaee99ae2b30 (diff)
jdk8: terasort persist job fixes
Fix missing bnechmark-results directory. Add comments. Change-Id: I8ae1b37d937493f38af8a67c4a4cdd1bffd15e23
Diffstat (limited to 'jdk8-terasort-benchmark-persist-results.yaml')
-rw-r--r--jdk8-terasort-benchmark-persist-results.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/jdk8-terasort-benchmark-persist-results.yaml b/jdk8-terasort-benchmark-persist-results.yaml
index 1100f02f..34a93f0a 100644
--- a/jdk8-terasort-benchmark-persist-results.yaml
+++ b/jdk8-terasort-benchmark-persist-results.yaml
@@ -57,6 +57,10 @@
new_results=incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.csv
prev_results=$BENCHMARK_RESULTS_DIR/results.csv
+ # Ensure persistent directory exists.
+ mkdir -p $BENCHMARK_RESULTS_DIR
+
+ # Tolerate missing results.csv file.
if [ ! -f $prev_results ]; then
touch $prev_results
fi