Running ZTest for custom drivers on Boards.


dhguja@gmail.com
 

Hello All,
        I created a custom driver for one of our device on a board and wanted to write testcases for it. I can build the testcases by following other test driver folders like gpio or i2c , but these are not running the test_main() which is supposed to run the test suite that i wrote. And I also followed the zephyr documentation about using the sanitycheck script, but i think this just builds the project if i understood it. I would like to know how to run unit tests on the board for my devices instead of qemu on the PC.

This may be rookie question but i could find any documentation how about can we do this on boards if its possible. Any leads on this will be helpful.

Many thanks for the support.

Regards,
Dhananjay G J

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