tests: Trace elapsed time when $WINETEST_TIME is set.
commit9f60ce22fb3e8291dda6f064655f6b3c877be1bf
authorFrancois Gouget <fgouget@codeweavers.com>
Fri, 17 Jul 2020 11:34:32 +0000 (17 13:34 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 21 Jul 2020 18:26:50 +0000 (21 20:26 +0200)
treecb882454cbf0546fc5f203c0614c312c8c39f77d
parent8e98dcd42e13bfeb5a2397ff9bf1c7f63c224e23
tests: Trace elapsed time when $WINETEST_TIME is set.

This simplifies narrowing down where a test gets stuck or is slow if
it times out but prints few messages.
Note that the elapsed time is relative to the current process start
time. So subprocesses will have a different elapsed time.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48094
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
include/wine/test.h