mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 23:57:46 +00:00
[toranj] enable code coverage mode on travis only (#2701)
This commit is contained in:
committed by
Jonathan Hui
parent
27fb81673c
commit
7e2caa5f16
@@ -80,10 +80,16 @@ cd ../..
|
||||
|
||||
# Build OpenThread posix mode with required configuration
|
||||
|
||||
if [ "$BUILD_TARGET" = "toranj-test-framework" ]; then
|
||||
coverage=yes
|
||||
else
|
||||
coverage=no
|
||||
fi
|
||||
|
||||
./bootstrap || die
|
||||
./configure \
|
||||
CPPFLAGS='-DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\"../tests/toranj/openthread-core-toranj-config.h\"' \
|
||||
--enable-coverage \
|
||||
--enable-coverage=${coverage} \
|
||||
--enable-ncp-app=all \
|
||||
--with-ncp-bus=uart \
|
||||
--with-examples=posix \
|
||||
|
||||
Reference in New Issue
Block a user