aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2013-03-08 11:46:41 -0800
committerJordan Justen <jordan.l.justen@intel.com>2013-03-10 15:20:27 -0700
commita1742fa53d79ba4d392ff8f43352c278389316f8 (patch)
tree19cf3958429f790218159d64d779255dc8fd1edb
parent005714de1da6fdfb13ce846cd0bd6c086a56306f (diff)
downloadpiglit-a1742fa53d79ba4d392ff8f43352c278389316f8.tar.gz
piglit-print-commands.py: Drop dead resume code
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@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
-rwxr-xr-xpiglit-print-commands.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/piglit-print-commands.py b/piglit-print-commands.py
index 0d27b77d..3479ef17 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):