]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ptest-cargo.bbclass: fix condition to detect test executable
authorFrederic Martinsons <frederic.martinsons@gmail.com>
Thu, 6 Jul 2023 09:16:16 +0000 (11:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jul 2023 16:31:02 +0000 (17:31 +0100)
commit8dd52f19a919fb7be0ffb7d40782eafe183f8a09
tree3bece6872ea70dff367b5b0ca585ae45e5eb867b
parentb9a7739b01e31d0cc8358d99255e3e1b02a0a1a8
ptest-cargo.bbclass: fix condition to detect test executable

before that, a test executable at None was picked.
Moreover, use universal_newlines to subprocess call to avoid
being polluted by fancy carriage return characters.

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/ptest-cargo.bbclass