[Piglit] [PATCH 16/16] summary: Rename NewSummary to Summary
Dylan Baker
baker.dylan.c at gmail.com
Thu Jun 13 08:36:23 PDT 2013
The old name existed simply as a holdover until the Summary name could
be cleared up. Since it is now available, use the Summary name.
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
framework/summary.py | 4 ++--
piglit-summary-html.py | 2 +-
piglit-summary-junit.py | 2 +-
piglit-summary.py | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/framework/summary.py b/framework/summary.py
index 2b5a62b..cd05867 100644
--- a/framework/summary.py
+++ b/framework/summary.py
@@ -29,7 +29,7 @@ from mako.template import Template
import core
__all__ = [
- 'NewSummary'
+ 'Summary'
]
@@ -241,7 +241,7 @@ class HTMLIndex(list):
'text': text})
-class NewSummary:
+class Summary:
"""
This Summary class creates an initial object containing lists of tests
including all, changes, problems, skips, regressions, and fixes. It then
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index 65e6653..276b187 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -92,7 +92,7 @@ def main():
args.resultsFiles.extend(parse_listfile(args.list))
# Create the HTML output
- output = summary.NewSummary(args.resultsFiles)
+ output = summary.Summary(args.resultsFiles)
output.generateHTML(args.summaryDir, args.exclude_details)
diff --git a/piglit-summary-junit.py b/piglit-summary-junit.py
index fdc54a4..655e748 100755
--- a/piglit-summary-junit.py
+++ b/piglit-summary-junit.py
@@ -46,7 +46,7 @@ def main():
help = "JSON results file to be converted")
args = parser.parse_args()
- output = summary.NewSummary([args.testResults])
+ output = summary.Summary([args.testResults])
output.generateJUnit(args.output)
diff --git a/piglit-summary.py b/piglit-summary.py
index f07d644..99497ef 100755
--- a/piglit-summary.py
+++ b/piglit-summary.py
@@ -81,7 +81,7 @@ def main():
args.results.extend(parse_listfile(args.list))
# Generate the output
- output = summary.NewSummary(args.results)
+ output = summary.Summary(args.results)
output.generateText(args.diff, args.summary)
--
1.8.1.4
More information about the Piglit
mailing list