Re: [OE-core] [meta-oe][PATCH] meson-with-tests: Allows for build time tests of meson

2018-06-22 Thread Paulo Neves
By suggestion of Alexander I have tried to change recipes known to use meson My results are mixed. With libinput the test was skipped automatically With libepoxy there were no tests defined. With json-glib I can run 13/14 tests successfully. One of the tests exits with a segmentation fault and I c

Re: [OE-core] [meta-oe][PATCH] meson-with-tests: Allows for build time tests of meson

2018-06-19 Thread Alexander Kanavin
qemu is notoriously fragile, or non-existent for some MACHINEs. If something fails, the failure should be reported as a warning. Also, can this be enabled for anything in oe-core that currently utilizes plain meson? That way the class will actually get used and tested. Alex 2018-06-19 22:20 GMT+

[OE-core] [meta-oe][PATCH] meson-with-tests: Allows for build time tests of meson

2018-06-19 Thread Paulo Neves
meson build system has the functionality of setting an executable wrapper to run cross-compiled binaries. The setting is called exe_wrapper and can be defined in the meson.cross file. With a valid exe_wrapper meson build system can test if the built binary is sane. Another advantage of setting exe