Does sanitycheck "--subtest" work and if yes how?


Marc Herbert
 

In this example, passing either 1, --test, or 2. --subtest, or 3. both seems to make no difference; in all 3 cases the same, complete kernel.fifo.poll set gets run:

./scripts/sanitycheck -v -v \
--test tests/kernel/fifo/fifo_api/kernel.fifo.poll \
--sub-test kernel.fifo.poll.fifo_loop \
| grep 'tarting test'


In this other, "conflicting" example, --subtest overrides --test. The --test argument is ignored and as above the complete kernel.fifo.poll set gets run:

./scripts/sanitycheck -v -v \
--test tests/kernel/fifo/fifo_usage/kernel.fifo.usage \
--sub-test kernel.fifo.poll.fifo_loop \
| grep 'tarting test'


Is this intended and why? If not what is expected to happen? Either way I'll try to clarify the --help.

Join devel@lists.zephyrproject.org to automatically receive all group messages.