]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest/rust: Various fixes to work correctly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jul 2023 10:23:20 +0000 (11:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jul 2023 17:00:29 +0000 (18:00 +0100)
commitb1718ce5b2b2db35a8e1c88087deee41f99094b4
treefba93415d0658c6aa87548912e9848bfbe92c08a
parent7c3346d8fbe85302b605bb3f772b029ea7bfaa6c
oeqa/selftest/rust: Various fixes to work correctly

* Ensure the test/class naming doesn't allow the to be triggered
  without the toolchain decorator

* Add the toolchain-user decorator so it runs on non-IA targets

* Strip the leading "[XX] " prefix from the test names

* Ensure skipped test counts are passed through correctly (as SKIPPED, not SKIP)

* Avoid duplicate test results and show a warning if any are found (duplicates
  were from other sources in the end but the code remains sensible to have)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/rust.py