>From 25baa61838b796e12fa19e41b814b9810db2725d Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 12 Oct 2014 16:13:44 -0700 Subject: [PATCH 1/4] Decrement the counter by one as actually we have index - 1 tests that have run Change-Id: I1a8f4f61642f0dc57d99eb8ecd554093ed758e28 Signed-off-by: Matthieu Patou --- selftest/subunithelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py index 6f1fdce..1dd9695 100644 --- a/selftest/subunithelper.py +++ b/selftest/subunithelper.py @@ -485,7 +485,7 @@ class PlainFormatter(TestsuiteEnabledTestResult): if not self.verbose: self.test_output[name] = "" - out = "[%d" % self.index + out = "[%d" % (self.index - 1) if self.totalsuites is not None: out += "/%d" % self.totalsuites if self.start_time is not None: -- 1.9.1