blob: 71383a9156455be8147419a180239cf0dd21f445 [file] [log] [blame]
#!/bin/bash
set -e
set -x
set -o pipefail
cd $(dirname "$BASH_SOURCE")
# Set up Pigweed's environment.
. ./bootstrap.sh
pip install --upgrade pigweed
# Set up Zephyr's environment.
pip install west
west init -l zephyr
west update
pip install -r zephyr/scripts/requirements.txt
# Use host toolchain
export ZEPHYR_TOOLCHAIN_VARIANT=host
# Use python protobuf
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
# Run Pigweed/Zephyr tests.
./zephyr/scripts/twister -v -c -i -T samples/