X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Frobot_output_parser_publish.py;h=caa5bd5d2b3ac2a7d7c26a4c954b334475f3f051;hb=ac7203cc1104f0e4868c07748d8a6b288182263f;hp=92038b59038d24e5f5cc072f7283b173b9e1594d;hpb=0bc4ce082bf7ec59dd371ba81d040ebad7b090fd;p=csit.git diff --git a/resources/tools/robot_output_parser_publish.py b/resources/tools/robot_output_parser_publish.py index 92038b5903..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(''+'\n') sys.stdout.write(''+'\n') sys.stdout.write(''+'\n') - if "Perf" and "Long" in suite.longname: + if "ndrdisc" in suite.longname: sys.stdout.write(''+'\n') sys.stdout.write(''+'\n') sys.stdout.write('') 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,14 +130,15 @@ class ExecutionChecker(ResultVisitor): sys.stdout.write(''+'\n') sys.stdout.write(''+'\n') sys.stdout.write(''+'\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(''+'\n') sys.stdout.write(''+'\n') elif self.formatting == 'wiki': sys.stdout.write('|-'+'\n') sys.stdout.write('|'+test.name+'\n') - sys.stdout.write('|'+test.doc+'\n') - if any("PERFTEST_LONG" in tag for tag in test.tags): + sys.stdout.write('|'+test.doc.replace('\n', ' ').replace('\r',\ + '')+'\n') + if any("NDRPDRDISC" in tag for tag in test.tags): sys.stdout.write('|'+test.message+'\n') sys.stdout.write('|'+test.status+'\n') else:
NameDocumentationMessageStatus
'+test.name+''+test.doc+''+test.message+''+test.status+'