diff options
author | Chen Congwu <congwu.chen@intel.com> | 2010-04-17 13:56:00 +0800 |
---|---|---|
committer | Chen Congwu <congwu.chen@intel.com> | 2010-04-20 09:22:10 +0800 |
commit | 3fb68fe84ae8a4f8b3cba1a3c6e192c38cdbede7 (patch) | |
tree | 743d9ce8e2707f668d10173d7d5db49815d921da | |
parent | 10bcfe281236b1941eaf92325e3c5e577c67c8f3 (diff) |
resultchecker: wrote 'calendar_todo' as tag name for 'calendar+todo'
'+' is a special character in the tag name, let's avoid it.
-rwxr-xr-x | test/resultchecker.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/resultchecker.py b/test/resultchecker.py index a5900f15..93adf3ef 100755 --- a/test/resultchecker.py +++ b/test/resultchecker.py @@ -244,7 +244,10 @@ def step2(resultdir, result, servers, indents, srcdir, shellprefix, backenddir): indent +=space indents.append(indent) prefix = logprefix[format] - result.write(indent+'<'+format+' prefix="'+prefix+'">\n') + qformat = format; + if (qformat.find('calendar+todo') !=-1): + qformat = format.replace('calendar+todo', 'calendar_todo') + result.write(indent+'<'+qformat+' prefix="'+prefix+'">\n') for case in logdic[format]: indent +=space indents.append(indent) @@ -259,7 +262,7 @@ def step2(resultdir, result, servers, indents, srcdir, shellprefix, backenddir): result.write('</'+casename+'>\n') indents.pop() indent = indents[-1] - result.write(indent+'</'+format+'>\n') + result.write(indent+'</'+qformat+'>\n') indents.pop() indent = indents[-1] result.write(indent+'</'+server+'>\n') |