Skip to content

Commit e981265

Browse files
committed
Updates to add more debug information
1 parent 9d7759d commit e981265

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

vcast_exec.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,10 @@ def runSonarQubeMetrics(self):
313313
generate_sonarqube_testresults.run(self.FullMP, self.xml_data_dir)
314314

315315
def runPcLintPlusMetrics(self):
316-
print("Creating PC-lint Plus Metrics")
317316
if not checkVectorCASTVersion(21):
318317
print("Cannot create PC-Lint Plus HTML report. Please upgrade VectorCAST")
319318
else:
319+
print("Creating PC-lint Plus Metrics")
320320
import generate_pclp_reports
321321
os.makedirs(os.path.join(self.xml_data_dir,"pclp"))
322322
report_name = os.path.join(self.xml_data_dir,"pclp","gl-code-quality-report.json")
@@ -329,12 +329,15 @@ def runPcLintPlusMetrics(self):
329329

330330
def runReports(self):
331331
if self.aggregate:
332+
print("Creating Aggregate Coverage Report")
332333
self.manageWait.exec_manage_command ("--create-report=aggregate --output=" + self.mpName + "_aggregate_report.html")
333334
self.needIndexHtml = True
334335
if self.metrics:
336+
print("Creating Metrics Report")
335337
self.manageWait.exec_manage_command ("--create-report=metrics --output=" + self.mpName + "_metrics_report.html")
336338
self.needIndexHtml = True
337339
if self.fullstatus:
340+
print("Creating Full Status Report")
338341
self.manageWait.exec_manage_command ("--full-status=" + self.mpName + "_full_status_report.html")
339342
self.needIndexHtml = True
340343

@@ -346,6 +349,7 @@ def generateTestCaseMgtRpt(self):
346349
os.remove(file)
347350

348351
if checkVectorCASTVersion(21):
352+
print("Creating Test Case Management HTML report")
349353
from vector.apps.DataAPI.vcproject_api import VCProjectApi
350354

351355
with VCProjectApi(self.FullMP) as vcprojApi:
@@ -363,6 +367,7 @@ def generateTestCaseMgtRpt(self):
363367

364368

365369
def exportRgw(self):
370+
print("Creating RGW Exports")
366371
rgw.updateReqRepo(VC_Manage_Project=self.FullMP, VC_Workspace=os.getcwd() , top_level=False)
367372
self.manageWait.exec_manage_command ("--clicast-args rgw export")
368373

0 commit comments

Comments
 (0)