summaryrefslogtreecommitdiff
path: root/common/scripts/fwts-parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/fwts-parser.py')
-rwxr-xr-xcommon/scripts/fwts-parser.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/scripts/fwts-parser.py b/common/scripts/fwts-parser.py
index bc20133..ce26484 100755
--- a/common/scripts/fwts-parser.py
+++ b/common/scripts/fwts-parser.py
@@ -3,12 +3,12 @@
import re
import sys
-RESULT_MAP = { 'PAS': 'pass',
- 'FAL': 'fail',
- 'SKP': 'skip',
- 'ABT': 'fail',
- 'WRN': 'fail',
- 'ERR': 'fail' }
+RESULT_MAP = {'PAS': 'pass',
+ 'FAL': 'fail',
+ 'SKP': 'skip',
+ 'ABT': 'fail',
+ 'WRN': 'fail',
+ 'ERR': 'fail'}
line = re.compile("(?P<owner>[a-z_]+)\\s*-(?P<field>[A-Z]+):(?P<content>.*)")
header = re.compile("(?P<gowner>[a-z]+):\\s(?P<group_name>[ ()a-zA-Z-_]+)")
result = re.compile("(?P<r>.*):\\s(?P<test_name>Test [0-9]),\\s(?P<comment>.*)")