diff options
author | pmikus <pmikus@cisco.com> | 2017-01-13 13:33:03 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-01-17 19:19:47 +0000 |
commit | 6a00ab3009930ba06bb2b28118398d8f232be4b9 (patch) | |
tree | 5f08d7caaa6445ae3efbc99fa25f4de55e3cdd5e /resources/tools/robot_output_parser_publish.py | |
parent | 032f90ff6bb8f37c429097fdf497d892988ff3be (diff) |
Update: robot parser scripts
Update robot parser script due to new naming and TAG structure
Change-Id: I963de747d2c88dadcb2d3fa48747fb2ef1403294
Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/robot_output_parser_publish.py')
-rwxr-xr-x | resources/tools/robot_output_parser_publish.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/tools/robot_output_parser_publish.py b/resources/tools/robot_output_parser_publish.py index c3390cbe1e..caa5bd5d2b 100755 --- a/resources/tools/robot_output_parser_publish.py +++ b/resources/tools/robot_output_parser_publish.py @@ -44,13 +44,13 @@ class ExecutionChecker(ResultVisitor): sys.stdout.write('<table width=100% border=1><tr>'+'\n') sys.stdout.write('<th width=32%>Name</th>'+'\n') sys.stdout.write('<th width=40%>Documentation</th>'+'\n') - if "Perf" and "Long" in suite.longname: + if "ndrdisc" in suite.longname: sys.stdout.write('<th width=24%>Message</th>'+'\n') sys.stdout.write('<th width=4%>Status</th><tr/>'+'\n') sys.stdout.write('</tr>') elif self.formatting == 'wiki': sys.stdout.write('{| class="wikitable"'+'\n') - if "Perf" and "Long" in suite.longname: + if "ndrdisc" in suite.longname: header = '!Name!!Documentation!!Message!!Status' else: header = '!Name!!Documentation!!Status' @@ -130,7 +130,7 @@ class ExecutionChecker(ResultVisitor): sys.stdout.write('<tr>'+'\n') sys.stdout.write('<td>'+test.name+'</td>'+'\n') sys.stdout.write('<td>'+test.doc+'</td>'+'\n') - if any("PERFTEST_LONG" in tag for tag in test.tags): + if any("NDRPDRDISC" in tag for tag in test.tags): sys.stdout.write('<td>'+test.message+'</td>'+'\n') sys.stdout.write('<td>'+test.status+'</td>'+'\n') elif self.formatting == 'wiki': @@ -138,7 +138,7 @@ class ExecutionChecker(ResultVisitor): sys.stdout.write('|'+test.name+'\n') sys.stdout.write('|'+test.doc.replace('\n', ' ').replace('\r',\ '')+'\n') - if any("PERFTEST_LONG" in tag for tag in test.tags): + if any("NDRPDRDISC" in tag for tag in test.tags): sys.stdout.write('|'+test.message+'\n') sys.stdout.write('|'+test.status+'\n') else: |