Exported tests needs a test suite that will run automatically the exported tests on a remote test controlling machine. As such, exported tests won't run under bitbake environment.
Exported tests will be created via an AutoBuilder buildstep, will me moved on a remote machine and executed from there. The test results obtained in this way will be compared to the same test suite ran under bitbake environment via testimage.
I think this is a bit further that I was intending when I suggested this. I'd simply like a selftest item which tries to export the test suite and then runs a simple test which completes quickly. This would stop the silly "import bb" type bugs we're getting today.
*** Bug 9432 has been marked as a duplicate of this bug. ***
Sent patch to the mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122524.html
This has been implemented in: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4a842cc95226621326f391705dae7a39bd9e32f7
verified on commit 627d01997fcf6a0581d88047735769ffb2592b82 ########################################################### $oe-selftest -r testexport.TestExport.test_testexport_basic Ran 1 test in 29.499s OK