[Piglit] [PATCH 4/6] piglit-print-commands.py: Drop dead resume code

Dylan Baker baker.dylan.c at gmail.com
Sat Mar 2 16:00:54 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 c01248b..26177c5 100755
--- a/piglit-print-commands.py
+++ b/piglit-print-commands.py
@@ -78,7 +78,6 @@ def main():
 		usage()
 
 	OptionName = ''
-	OptionResume = False
 	test_filter = []
 	exclude_filter = []
 
@@ -103,14 +102,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.2



More information about the Piglit mailing list