diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2016-05-26 08:17:29 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2016-05-26 08:17:29 +0300 |
commit | 32626b517d1c1289e33f598913eb4567f0b4a6f2 (patch) | |
tree | ff85365b3570b2373acce1288d07601524ea3927 /zephyr-upstream.yaml | |
parent | 70ee5a076e3f57a8d36be75f4abe2feccbe82d0a (diff) |
zepyhr-upstream: build the tests
Change-Id: Ic02bf31852d2ccea98868bb70fdb1577f6d0d0bd
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'zephyr-upstream.yaml')
-rw-r--r-- | zephyr-upstream.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr-upstream.yaml b/zephyr-upstream.yaml index 5e8417033d..1fd56f793b 100644 --- a/zephyr-upstream.yaml +++ b/zephyr-upstream.yaml @@ -78,18 +78,18 @@ export CROSS_COMPILE=arm-none-eabi- export ARCH=arm - # Ignore errors for now as we build all the sample applications - # even the samples not intended for the architecture or the platform + # Ignore errors for now as we build all the sample and test applications + # even the samples/tests not intended for the architecture or the platform set +e # Build using ARCH, CROSS_COMPILE and BOARD environment variables set - for project in $(find samples -type f -name prj.conf | xargs dirname); do + for project in $(find samples tests -type f -name prj.conf | xargs dirname); do cd ${ZEPHYR_BASE}/${project} make -j$(getconf _NPROCESSORS_ONLN) done set -e cd ${WORKSPACE} - find samples -type f -name '.config' -exec rename 's/.config/zephyr.config/' {} + + find samples tests -type f -name '.config' -exec rename 's/.config/zephyr.config/' {} + rsync -avm \ --include=zephyr.bin \ --include=zephyr.config \ |