diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-03-17 13:13:31 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-03-17 13:15:15 +0000 |
commit | e72594d6eccb1760d9824a1be3a1016d24476c5e (patch) | |
tree | 64d0e3bbf2421f4d003cea091e41dfb12dcd1d00 | |
parent | 385e8f3b9322aedd48f3e61e1cf5e8b85524de7a (diff) |
junit: Update for framework.status refactoring.
With commit 8455927c4ef0fcf310ea7ed1e97ae2ff75fec80c status are
instances as opposed to classes.
Trivial.
-rwxr-xr-x | piglit-summary-junit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/piglit-summary-junit.py b/piglit-summary-junit.py index a6f7aae10..35641f444 100755 --- a/piglit-summary-junit.py +++ b/piglit-summary-junit.py @@ -72,9 +72,9 @@ class Writer: pass success = result.get('result') - if success in (status.Pass(), status.Warn()): + if success in (status.PASS, status.WARN): pass - elif success == status.Skip(): + elif success == status.SKIP: self.report.addSkipped() else: self.report.addFailure(success.name) |