diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-18 14:58:34 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-11-18 14:58:34 +0000 |
commit | 907da171cc911d701da02a5cab898a9c49dd7724 (patch) | |
tree | 6a111e552c75afc66228e3d8f19b6731e4013f10 /utils/lit/Test.py | |
parent | 72cc50852bec44580ee7efe1aa2076273008a6ae (diff) |
Notes
Diffstat (limited to 'utils/lit/Test.py')
-rw-r--r-- | utils/lit/Test.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/lit/Test.py b/utils/lit/Test.py index d3f627456f8a..1f6556ba8595 100644 --- a/utils/lit/Test.py +++ b/utils/lit/Test.py @@ -54,6 +54,14 @@ class Test: self.output = None # The wall time to execute this test, if timing and once complete. self.elapsed = None + # The repeat index of this test, or None. + self.index = None + + def copyWithIndex(self, index): + import copy + res = copy.copy(self) + res.index = index + return res def setResult(self, result, output, elapsed): assert self.result is None, "Test result already set!" |