On 3 April 2018 at 16:25, Victor Kamensky <[email protected]> wrote: > + @OETestID(1652) > + @skipIfNotFeature('tools-profile', > + 'Test requires tools-profile to be in IMAGE_FEATURES') > + @OETestDepends(['kernelmodule.KernelModuleTest.test_kernel_module']) > + def test_stap(self):
Instead of skipIfNotFeature use OETestDepends(systemtap), as platforms which don't support systemtap can still have tools-profile enabled (such as musl systems). Then please add stap to the default cases in testimage.bbclass for the sdk images. Also shouldn't the test be looking at the output to check that 'hello world' was displayed? Otherwise stap might have done exit(0) but the script didn't actually run. Ross -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
