Buildability over all Bridle drivers
As noted in Running CI Tests Locally it is a common best practice to running regression test suites locally before submit. Checking the buildability of all drivers maintained by Bridle is not a single test suite but rather the reuse of Zephyr’s tests/drivers/build_all test strategy with significant adaptations to Bridle’s needs. The following west commands can be used to check individual driver sets or really all drivers (checks only ≈12.00% of all platforms, ≈150 test scenarios).
Check all drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all \
--testsuite-root zephyr/tests/drivers/build_all \
--tag bridle \
--tag zephyr
Check all Display Interface drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/display \
--testsuite-root zephyr/tests/drivers/build_all/display \
--tag bridle \
--tag zephyr
Check all General-Purpose Input/Output (GPIO) drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/gpio \
--testsuite-root zephyr/tests/drivers/build_all/gpio \
--tag bridle \
--tag zephyr
Check all Inter-Integrated Circuit (I2C) Bus drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/i2c \
--testsuite-root zephyr/tests/drivers/build_all/i2c \
--tag bridle \
--tag zephyr
Check all Multi Function Device (MFD) drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/mfd \
--testsuite-root zephyr/tests/drivers/build_all/mfd \
--tag bridle \
--tag zephyr
Check all Real-Time Clock (RTC) drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/rtc \
--testsuite-root zephyr/tests/drivers/build_all/rtc \
--tag bridle \
--tag zephyr
Check all Sensors drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/sensor \
--testsuite-root zephyr/tests/drivers/build_all/sensor \
--tag bridle \
--tag zephyr
Check all Universal Asynchronous Receiver-Transmitter (UART) drivers:
$ west twister \
--jobs 4 \
--verbose \
--inline-logs \
--integration \
--alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/uart \
--testsuite-root zephyr/tests/drivers/build_all/uart \
--tag bridle \
--tag zephyr