]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
resulttool/report: Avoid divide by zero
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 13 Aug 2023 09:09:14 +0000 (10:09 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Sep 2023 14:14:00 +0000 (04:14 -1000)
commitb95c6a5278d44fddfbaea45cc78324f1e099187c
tree9bc54872bd0558ead75c78a7b6f4eba716354eed
parentd0f8d5915a9ad3340a553b4a22f91074d7e679c9
resulttool/report: Avoid divide by zero

Avoid a divide by zero traceback if unfortunate test counts are encountered.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5aeea53dfacb53dedb8445cb3523dc3a8cb6dca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/lib/resulttool/report.py