On Mon, May 08, 2006 at 11:45:43PM +0200, Holger Freyther wrote: > > Am 08.05.2006 um 23:20 schrieb Erik Hovland: > >Now I would like to apply this test somehow. The effective but > >non-elegant way is to just run the test on my handheld after I have > >cross-compiled it. The elegant way is to use qemu or some other > >technique to do this with bitbake. > > > >Is the 'elegant' way available to a developer of OE without too much > >code? Any suggestions on techniques for applying this? Anyone done > >anything with QA on OE? All comments welcome. > > > >E > > > The elegant way is inside my head. We will add a do_test task after > compile and before build. Then we could execute tests automatically. > The other part is more tricky. Currently we can 'flag' methods as > shell, python, fakeroot. The next flag would be something like > 'target' which could execute the method with qemu userspace emulation > or similiar. > > But sadly we are not yet there. You could add a special task for your > gcc build and run the test after compiling. Similiar to the way > locales are generated (if it uses the right version of glibc).
Thanks for the quick reply. I will see if I can hack something up like the binary locales just to see if it is doable in a couple of lines. If I can help with the do_test let me know. Although I am sure it will be faster if you work on it, then to figure out how to explain it to me. E -- Erik Hovland mail: erik AT hovland DOT org web: http://hovland.org/ PGP/GPG public key available on request _______________________________________________ Oe mailing list [email protected] https://www.handhelds.org/mailman/listinfo/oe
