From 5f9445c88b85d4bdf3365f1c32ff9e74df93a448 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 20 Feb 2012 13:38:06 -0800 Subject: [PATCH] suite.results: include test duration in output --- teuthology/suite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index f53e83a234b90..3aed2e018b02e 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -295,7 +295,8 @@ def results(): g = yaml.safe_load_all(f) for new in g: summary.update(new) - desc = '{test}: {desc}'.format( + desc = '{test}: ({duration}s) {desc}'.format( + duration=int(summary['duration']), desc=summary['description'], test=j, ) -- 2.39.5