[Piglit] [Patch v2 1/2] piglit-summary-html.py: Fix regression from constant conversion
Dylan Baker
baker.dylan.c at gmail.com
Tue Apr 8 13:36:59 PDT 2014
This fixes a regression introduced in ec37e0fa951
If piglit-summary-html.py is run with -e all it will except. This is
because I missed converting the various statuses to constants from
classes
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
piglit-summary-html.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index a37b337..4a51721 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -71,8 +71,8 @@ def main():
if args.exclude_details:
# If exclude-results has all, then change it to be all
if 'all' in args.exclude_details:
- args.exclude_details = [status.Skip(), status.Pass(), status.Warn(),
- status.Crash(), status.Fail()]
+ args.exclude_details = [status.SKIP, status.PASS, status.WARN,
+ status.CRASH, status.FAIL]
else:
args.exclude_details = [status.status_lookup(i) for i in
args.exclude_details]
--
1.9.1
More information about the Piglit
mailing list