]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/buildstats: handle tasks that never finished
authorRoss Burton <ross.burton@arm.com>
Tue, 14 Feb 2023 16:46:14 +0000 (16:46 +0000)
committerSteve Sakoman <steve@sakoman.com>
Sat, 25 Feb 2023 19:25:51 +0000 (09:25 -1000)
commit51e5e085400bb818d43ad82ffcf8548665bbd1d0
tree82b86dd19c9fa6f00d21e4398f11f38d58bd1d4a
parentfdabdb6bd5d190446d15bdefd1032add81c2ebf3
lib/buildstats: handle tasks that never finished

If a task is aborted the buildstats file isn't complete, so calculate
when the build finished and use that as a end time.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23ebaec476dc46aebe5997f025661137f3e341bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/lib/buildstats.py