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 <[email protected]>
---
 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

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to