aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2019-10-15 15:02:21 +0300
committerPaul Sokolovskyy <paul.sokolovsky@linaro.org>2019-10-15 12:19:40 +0000
commit684e0954c8439108b5135d4c07eefe5fc7ac69f0 (patch)
tree3a9a042eb50e95db407ffc53422697d62f7d2c1d
parent6215b1830d9b063f0e9c1a6e1acb59b4791beb5d (diff)
zephyr-upstream: Update for changes in sanitycheck report location
Zephyr upstream changed location where sanitycheck report goes: it used to be "last_sanity.csv" inside zephyr source tree, whereas now it's "sanitycheck.csv" in the sanitycheck output dir. As we run sanitycheck per-platform, override this location to be not the root of output dir, but one level down, under specific platform dir. Then update artifiact archiving to pick it up from there. Change-Id: I1245ad0da75e908919b3bcec21621064c1dad1a3 Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
-rw-r--r--zephyr-upstream.yaml2
-rwxr-xr-xzephyr-upstream/builders.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/zephyr-upstream.yaml b/zephyr-upstream.yaml
index 7beed8f84a..03459470e1 100644
--- a/zephyr-upstream.yaml
+++ b/zephyr-upstream.yaml
@@ -162,6 +162,6 @@
publishers:
- archive:
- artifacts: 'zephyr/scripts/sanity_chk/last_sanity.csv'
+ artifacts: 'out/sanitycheck.csv'
- email:
recipients: 'fathi.boudra@linaro.org kumar.gala@linaro.org gpitney@ti.com vincent.wan@linaro.org paul.sokolovsky@linaro.org'
diff --git a/zephyr-upstream/builders.sh b/zephyr-upstream/builders.sh
index eddedcaedb..a60d433f15 100755
--- a/zephyr-upstream/builders.sh
+++ b/zephyr-upstream/builders.sh
@@ -74,6 +74,7 @@ time ${ZEPHYR_BASE}/scripts/sanitycheck \
--inline-logs \
--build-only \
--outdir ${OUTDIR} \
+ --report-dir ${OUTDIR}/${PLATFORM} \
--enable-slow \
-x=USE_CCACHE=${USE_CCACHE}
@@ -87,6 +88,7 @@ rsync -avm \
--include=zephyr.bin \
--include=zephyr.config \
--include=zephyr.elf \
+ --include=sanitycheck.csv \
--include='*/' \
--exclude='*' \
${OUTDIR}/${PLATFORM} ${WORKSPACE}/out/