[Piglit] [PATCH v3 4/7] piglit-print-commands.py: Drop dead resume code
Dylan Baker
baker.dylan.c at gmail.com
Fri Mar 8 11:46:41 PST 2013
This program does not support resume, but has some code copied from
piglit-run.py for resuming interupted runs, so drop it.
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
piglit-print-commands.py | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/piglit-print-commands.py b/piglit-print-commands.py
index 0d27b77..3479ef1 100755
--- a/piglit-print-commands.py
+++ b/piglit-print-commands.py
@@ -81,7 +81,6 @@ def main():
usage()
OptionName = ''
- OptionResume = False
test_filter = []
exclude_filter = []
@@ -111,14 +110,6 @@ def main():
profile = core.loadTestProfile(profileFilename)
- # If resuming an interrupted test run, re-write all of the existing
- # results since we clobbered the results file. Also, exclude them
- # from being run again.
- if OptionResume:
- for (key, value) in old_results.tests.items():
- json_writer.write_dict_item(key, value)
- env.exclude_tests.add(key)
-
def getCommand(test):
command = ''
if isinstance(test, GleanTest):
--
1.8.1.4
More information about the Piglit
mailing list