[yocto] Discussion: Package testing

Björn Stenberg bjst at enea.com
Thu Jun 21 01:50:52 PDT 2012


Burton, Ross wrote:
> The problem with that is that you can only test the external
> interfaces, not the inner state (black box vs white box).  i.e. DBus
> has test cases for each C file inside that C file, so it can exercise
> both the external API and internal state.

I haven't examined dbus in detail yet, but in principle I don't think it should be a problem. As long as the test binaries are compiled on the build host, in the normal work dir, we don't need to know or care what source code they are built from.

-- 
Björn



More information about the yocto mailing list