]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
ptest-cargo.bbclass: add the possibility to define test arguments
authorFrederic Martinsons <frederic.martinsons@gmail.com>
Sun, 7 May 2023 05:44:35 +0000 (07:44 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 May 2023 16:18:06 +0000 (17:18 +0100)
commitea1feece62b0347aa2ebf02509ff2da151d96b61
treef5d80a2baad56a7945a90e3e124a6ef2cc53dcb9
parentd0d08dd9a8a179e25b9cfcbac696c1d212a1910c
ptest-cargo.bbclass: add the possibility to define test arguments

It can be useful for user of this class for giving common rust test
arguments (like --shuffle, --format or --test-threads)

To add arguments to test binary , simply define RUST_TEST_ARGS
in your recipe that inherit ptest-cargo, for example:

RUST_TEST_ARGS = "--shuffle"

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