[PATCH] testbot: Import Utils in Log for DurationToString().
Francois Gouget
fgouget at codeweavers.com
Sat Apr 21 12:57:16 CDT 2018
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/Log.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/Log.pm b/testbot/lib/WineTestBot/Log.pm
index 36efb48a2..2876b99cd 100644
--- a/testbot/lib/WineTestBot/Log.pm
+++ b/testbot/lib/WineTestBot/Log.pm
@@ -109,7 +109,8 @@ sub Elapsed($)
sub PrettyElapsed($)
{
my ($Start) = @_;
- return DurationToString(Time()-$Start);
+ require WineTestBot::Utils;
+ return WineTestBot::Utils::DurationToString(Time()-$Start);
}
1;
--
2.17.0
More information about the wine-devel
mailing list