summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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