Skip to content

Commit 9fb94cb

Browse files
committed
update to add --noindex to prevent index.html from being generated
1 parent 4b1d805 commit 9fb94cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vcast_exec.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def __init__(self, args):
128128
self.use_cte = args.use_cte
129129
self.send_all_coverage = args.send_all_coverage
130130
self.minimum_passing_coverage = args.minimum_passing_coverage
131+
self.noIndex = args.noindex
131132

132133
if args.exit_with_failed_count == 'not present':
133134
self.useJunitFailCountPct = False
@@ -601,7 +602,7 @@ def runExec(self):
601602
reportGroup.add_argument('--fullstatus', help='Generate full status reports for VectorCAST Project', action="store_true", default = False)
602603
reportGroup.add_argument('--utfull', help='Generate Full Reports for each VectorCAST environment in project', action="store_true", default = False)
603604
reportGroup.add_argument('--tcmr', help='Generate Test Cases Management Reports for each VectorCAST environment in project', action="store_true", default = False)
604-
reportGroup.add_argument('--index', help='Generate an index.html report that ties all the other HTML reports together', action="store_true", default = False)
605+
reportGroup.add_argument('--noindex', help='Stops index.html report that ties all the other HTML reports together from being created', action="store_true", default = False)
605606

606607
beGroup = parser.add_argument_group('Build/Execution Options', 'Options that effect build/execute operation')
607608

@@ -681,7 +682,7 @@ def runExec(self):
681682
if args.utfull:
682683
vcExec.generateUtFullReport()
683684

684-
if vcExec.needIndexHtml or args.index:
685+
if vcExec.needIndexHtml and not vcExec.noIndex:
685686
vcExec.generateIndexHtml()
686687

687688
if args.export_rgw:

0 commit comments

Comments
 (0)