This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ncs, zephyr ztest + zigbee subsystem

I want to implement integration tests of the ZigBee subsystem on nrf52 and looking for a way to launch them by CI script.
We need such a feature for automatic testing after hardware assembly.
My first problem is that when adding CONFIG_ZTEST to prj.conf in my working project, I get 'ncs/nrf/subsys/zigbee/osif/zb_nrf_platform.c:139:15: error: too many arguments to function 'zb_schedule_app_callback'' error.
Can tell me what am I doing wrong?
Second thing is that the tests will be split into client / server side and I want to run them on dedicated client / server hardware.
Is there any way to run them on bulk?

I was thinking about running them with sanity check one by one running pairs of client + server test cases. Is there a better way to do this?

Parents
  • Hi,

    Sorry for the late reply.

    Which version of NCS are you using? Did you make any other changes besides adding CONFIG_ZTEST=y to prj.conf? Ztest has been used successfully with Zigbee before, and I'm not sure what might cause the problem. I'll ask the Zigbee team internally about this and come back to you. Please be aware that we are short staffed due to holiday season, so it might take some time before I get a response from them.

    Best regards,

    Marte

Reply
  • Hi,

    Sorry for the late reply.

    Which version of NCS are you using? Did you make any other changes besides adding CONFIG_ZTEST=y to prj.conf? Ztest has been used successfully with Zigbee before, and I'm not sure what might cause the problem. I'll ask the Zigbee team internally about this and come back to you. Please be aware that we are short staffed due to holiday season, so it might take some time before I get a response from them.

    Best regards,

    Marte

Children
No Data
Related