test: Keep track of suite duration
authorSimon Glass <sjg@chromium.org>
Fri, 7 Feb 2025 18:30:35 +0000 (11:30 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 12 Feb 2025 02:10:58 +0000 (20:10 -0600)
commit5f6a59e03eff0f29295ce12b3807cbac7334e0aa
treeea15fe355f0ff7c4f941da2166d0010344adb6e1
parent5c47e432fdf1e545acccbb60f89ff4e97793fe05
test: Keep track of suite duration

Show the time taken by each test suite with 'ut all' and the total time
for all suites.

Take care to remove any sandbox time-offset from the values.

Fix the comment-format on timer_test_add_offset() while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/timer/sandbox_timer.c
include/test/test.h
include/time.h
test/Kconfig
test/test-main.c