aboutsummaryrefslogtreecommitdiff
path: root/tcwg-benchmark.yaml
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2016-02-29 16:20:45 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2016-02-29 16:20:45 +0000
commit7f8b2e60e658bf920c1bd105904db803331ce785 (patch)
tree21b17df6c9c16bcbb07d0e6c03daa4cbff26bcee /tcwg-benchmark.yaml
parent244f0d5f6415851973f87368de36087de5a6b6e6 (diff)
tcwg-benchmark: Update for YAML-producing Benchmark.sh
Change-Id: Id200eb866cf85ac8c3c5bd0e8e46776668595fd3
Diffstat (limited to 'tcwg-benchmark.yaml')
-rw-r--r--tcwg-benchmark.yaml11
1 files changed, 3 insertions, 8 deletions
diff --git a/tcwg-benchmark.yaml b/tcwg-benchmark.yaml
index 6376956fbe..5070633523 100644
--- a/tcwg-benchmark.yaml
+++ b/tcwg-benchmark.yaml
@@ -172,12 +172,8 @@
git clone --depth 1 -b ${TESTDEF_REVISION} https://git.linaro.org/toolchain/abe
#Set variables for both post-build-lava and yaml-to-json
- tmpfile=`mktemp`
- bash -x ./abe/scripts/Benchmark.sh > "${tmpfile}"
- while read x; do
- export "$x"
- done < "${tmpfile}"
- rm "${tmpfile}"
+ yaml=`mktemp`
+ bash -x ./abe/scripts/Benchmark.sh > "${yaml}"
#Must be exported to be visible to Benchmark.sh - env vars that
#happen to be job params are already exported, so don't need this
@@ -195,8 +191,7 @@
#Convert YAML to JSON
git clone --depth 1 https://git.linaro.org/ci/lci-build-tools
- ./lci-build-tools/yaml-to-json.py \
- abe/config/bench/jobdefs/template-uinstance.yaml > lava-jobdef.json
+ ./lci-build-tools/yaml-to-json.py "${yaml}" > lava-jobdef.json
publishers:
- archive: