]> 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, 24 Oct 2023 02:33:02 +0000 (16:33 -1000)
commit33d3374a7149ad1afe86d86c0dc2a948f70e26bd
tree2ef00e0b328832676977de6a069d4ded50bb8718
parent42d08fdcd3c95dbef795bb74f0ff5db8ff1b0a19
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