[Piglit] [PATCH 04/11] framework: Remove Test.sleep and TestProfile.sleep.
Kenneth Graunke
kenneth at whitecape.org
Wed Feb 1 16:06:31 PST 2012
Because seriously, who wants to sleep between tests? Under normal
circumstances, this just pointlessly slows test runs down. During
platform bring-up, or when debugging flushing issues, it can be useful,
but it's just as easy to hack in a sleep(0.2) call yourself.
---
framework/core.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/framework/core.py b/framework/core.py
index de07553..c818f7c 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -410,7 +410,6 @@ class Environment:
class Test:
ignoreErrors = []
- sleep = 0
def __init__(self, runConcurrent = False):
'''
@@ -469,8 +468,6 @@ class Test:
status(result['result'])
json_writer.write_dict_item(path, result)
- if Test.sleep:
- time.sleep(Test.sleep)
else:
status("dry-run")
@@ -506,7 +503,6 @@ class TestProfile:
def __init__(self):
self.tests = Group()
self.test_list = {}
- self.sleep = 0
def flatten_group_hierarchy(self):
'''
--
1.7.7.6
More information about the Piglit
mailing list