]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest/resulttool: add test for metadata filtering on regression
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Mon, 27 Feb 2023 19:42:23 +0000 (20:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Feb 2023 22:54:25 +0000 (22:54 +0000)
commitb84302ef56f2516742a496aef43b89d4c3decd37
tree7c4a21f46b6b01f56827da87177ff82d2679ee84
parent758ac050ffd91524d400c196865b1ed27ece8776
oeqa/selftest/resulttool: add test for metadata filtering on regression

Multiple filters have been added to resulttool to ensure that test
results are compared only to relevant older tests results

Add some unit tests about added filters:
- tests should only be compared when machine matches
- tests run as oeselftest should only be compared when
  OESELFTEST_METADATA matches
- many ptests should match despite non-static names
- runtime tests should match with matching tests regarding ltp tests
  content

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/resulttooltests.py