pbl testBuild and run the unit tests on the host. They are a CMake project of their
own, configured into build-test/; anything pbl test does not recognize
is passed to ctest.
pbl test
pbl test -R animation
pbl test --coverage
Unit tests covers selecting, writing and debugging tests.
pbl test [-h] [-b DIR] [--dry-run] [-G GENERATOR] [-C] [--no-images]
[--build-only]
-G, --generator GENERATORCMake generator (default: Ninja)
-C, --coverageInstrument the tests and write an lcov report
--no-imagesSkip the image fixtures; only some tests need them
--build-onlyBuild the tests without running
Generated from PebbleOS 3a7b71785. This page is maintained in the pebbleos repository: docs/pbl/test.md.