[OE-core] [PATCH 1/3] systemd: upgrade to 237

Randy MacLeod randy.macleod at windriver.com
Thu Mar 22 16:12:22 UTC 2018


On 2018-03-22 07:14 AM, Alexander Kanavin wrote:
> On 03/22/2018 08:06 AM, ChenQi wrote:
>> The test framework meson uses is like:
>>
>> |e = executable('prog', 'testprog.c') test('name of test', e)|
>>
>>
>> http://mesonbuild.com/Unit-tests.html
>>
>> So they could be defined in any valid meson.build file. In systemd's 
>> case, most of them are in top-level meson.build.
>>
>> I agree with you that it's possible to extract all these test cases 
>> and hold them in a custom script we write. I think this could serve 
>> as a fall-back approach to adding ptest support for systemd.
>> But I'd like to spend some time to try to find a more general 
>> approach, avoiding headaches when upgrading.
>
> That's right. We probably need to put some kind of 'hook' inside 
> meson's test() that would copy the test case to a ptest directory, 
> instead of running it.
>
> Alex


Best if we could pitch this to the meson devs on their list:

     The Meson Build System <mesonbuild at googlegroups.com>

The earlier that we describe the problem and our proposed solution with 
them the better.

../Randy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180322/749114c7/attachment-0002.html>


More information about the Openembedded-core mailing list