summaryrefslogtreecommitdiff
path: root/piglit-summary-html.py
diff options
context:
space:
mode:
authorChad Versace <chad@chad-versace.us>2011-07-14 13:40:21 -0700
committerChad Versace <chad@chad-versace.us>2011-07-14 14:01:08 -0700
commitd6cd8747c4653e34b4df228374fb6c4c3645318e (patch)
tree3cd5bf0cffd5847b350ed6334537d297dadb0cc3 /piglit-summary-html.py
parentb2ae931c5891a35aa3ddd22159b24e0d532e3b3d (diff)
piglit-summary-html: Remove dead option --full
Option --full was ignored because committ 5556f8d1790aaf664c5e8dd62e12afb983992b1a framework: Replace custom serialization format with json removed generation of the summary file; only the full result file is generated. Signed-off-by: Chad Versace <chad@chad-versace.us>
Diffstat (limited to 'piglit-summary-html.py')
-rwxr-xr-xpiglit-summary-html.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index d00e11e2..e75aca9b 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -264,7 +264,6 @@ def usage():
Usage: %(progName)s [options] [summary-dir] [test.results]...
Options:
- -f, --full Prefer the full results over the
-h, --help Show this message
-o, --overwrite Overwrite existing directories
-l, --list=listfile Use test results from a list file
@@ -288,7 +287,7 @@ def parse_listfile(filename):
file.close()
return eval(code)
-def loadresult(descr, OptionPreferSummary):
+def loadresult(descr):
result = core.loadTestResults(descr[0])
if len(descr) > 1:
result.__dict__.update(descr[1])
@@ -296,20 +295,17 @@ def loadresult(descr, OptionPreferSummary):
def main():
try:
- options, args = getopt(sys.argv[1:], "hofl:", [ "help", "overwrite", "full", "list" ])
+ options, args = getopt(sys.argv[1:], "hofl:", [ "help", "overwrite", "list" ])
except GetoptError:
usage()
OptionOverwrite = False
- OptionPreferSummary = True
OptionList = []
for name, value in options:
if name == "-h" or name == "--help":
usage()
elif name == "-o" or name == "--overwrite":
OptionOverwrite = True
- elif name == "-f" or name == "--full":
- OptionPreferSummary = False
elif name == "-l" or name == "--list":
OptionList += parse_listfile(value)
@@ -321,7 +317,7 @@ def main():
summaryDir = args[0]
core.checkDir(summaryDir, not OptionOverwrite)
- results = [loadresult(descr, OptionPreferSummary) for descr in OptionList]
+ results = [loadresult(descr) for descr in OptionList]
summary = framework.summary.Summary(results)
for j in range(len(summary.testruns)):