From b4ceefa469cfc1ebce8e162ed569a5c844d8765e Mon Sep 17 00:00:00 2001 From: Santhosh Edukulla Date: Fri, 25 Oct 2013 23:39:35 +0530 Subject: [PATCH] Adding readable start and end time stamps Signed-off-by: Santhosh Edukulla --- tools/marvin/marvin/marvinPlugin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/marvin/marvin/marvinPlugin.py b/tools/marvin/marvin/marvinPlugin.py index 3b282e448db..c5931e0f9fd 100644 --- a/tools/marvin/marvin/marvinPlugin.py +++ b/tools/marvin/marvin/marvinPlugin.py @@ -140,9 +140,10 @@ class MarvinPlugin(Plugin): if self.startTime is not None: totTime = int(endTime - self.startTime) self.logger.debug( - "****TestCaseName: %s; Time Taken: %s Seconds; \ - StartTime: %s; EndTime: %s****" - % (self.testName, str(totTime), self.startTime, endTime)) + "TestCaseName: %s; Time Taken: %s Seconds; \ + StartTime: %s; EndTime: %s" + % (self.testName, str(totTime), + str(time.ctime(self.startTime)), str(time.ctime(endTime)))) def _injectClients(self, test): self.debug_stream. \