NCS QEMU Testing not exiting

I would like to automate some unit tests with NCS.  I tried running the native_posix qemu builds, however, this does not support the mac m1 architecture (maybe Linux only?).

qemu_x86 works, but it sits in an infinite loop.  I want to automate the tests to stop the production build on test errors.

1. Perhaps there is an exit command I can add for the the qemu_x86?  I see the posix_exit(ret); for the native_posix builds

2. Bablesim looks really interesting, but I think that is Linux only.

3. Perhaps I should be looking elsewhere for unit testing rather than qemu with NCS? Any suggestions? 

My other thought is to run these in a docker container, but I would rather not need to do this.

Thanks!

Parents Reply Children
Related