]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
scripts/yocto_testresults_query.py: set proper branches when using resulttool
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Thu, 9 Mar 2023 15:53:01 +0000 (16:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Mar 2023 23:36:44 +0000 (23:36 +0000)
commit6c472b326bcc718459483cc29b310b884742df86
tree1da3658e0f04ac1ef3d6bfff8698376102c93f48
parentc335f96f687c73fde443ac330ca3e17113794d9e
scripts/yocto_testresults_query.py: set proper branches when using resulttool

The script currently only works if base and target can be found on default
branches. It breaks if we try to generate a regression report between revisions
that live on different branches (as needed on integration and testing branches).
For example, the following command:

./scripts/yocto_testresults_query.py regression-report yocto-4.0.6 yocto-4.0.7

ends with the follwing error:

[...]
ERROR: Only 1 tester revisions found, unable to generate report
[...]

Read branches from tags names in test results repository, and pass those
branches to resulttool when generating the report

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/yocto_testresults_query.py