summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-12-04 13:25:14 +0000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-12-07 10:32:43 +0000
commite6ceade83d6e2e20ad5bbe531971915663646da1 (patch)
tree46cc22e2bdb1f5e7b426af63361447ef6af310ae
parent9d1e6672928b13ea1759c7f724bac4396b99d496 (diff)
android: changed output for art-microbenchmarks
Output files are named with --output-pkl and --output-json options. This makes the test immune to any path changes that run.py might introduce. Change-Id: Iff77e27ce2a88a4821ade0b9ccba4477e6ab2ec0 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r--android/art-microbenchmarks.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/android/art-microbenchmarks.yaml b/android/art-microbenchmarks.yaml
index 4cc647e..cbcf724 100644
--- a/android/art-microbenchmarks.yaml
+++ b/android/art-microbenchmarks.yaml
@@ -32,11 +32,14 @@ run:
- IPADDR=`awk -F '=' '{print $2}' /tmp/lava_multi_node_cache.txt`
- if [ $IPADDR != "_MISSING_" ]
- then
+ - if [ -f ./android/scripts/configure-$TARGET_DEVICE-for-benchmarks.sh ]
+ - then
- . ./android/scripts/configure-$TARGET_DEVICE-for-benchmarks.sh
- - ./art-testing/run.py -t $IPADDR --iterations $ITERATIONS --mode $MODE | tee logs.txt
+ - fi
+ - ./art-testing/run.py -t $IPADDR --iterations $ITERATIONS --mode $MODE --output-pkl $PWD/art-microbenchmarks.pkl --output-json $PWD/art-microbenchmarks.json | tee logs.txt
- . ./android/scripts/parse-ubenchmarks-results.sh logs.txt
- - if [ -f ./art-testing/pkl/*.pkl ]; then lava-test-run-attach ./art-testing/pkl/*.pkl; fi
- - if [ -f ./art-testing/json/*.json ]; then lava-test-run-attach ./art-testing/json/*.json; fi
+ - if [ -f art-microbenchmarks.pkl ]; then lava-test-run-attach art-microbenchmarks.pkl; fi
+ - if [ -f art-microbenchmarks.json ]; then lava-test-run-attach art-microbenchmarks.json; fi
- echo "processes running"
- ps
- fi