File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ def runPcLintPlusMetrics(self):
340340 print ("PC-lint Plus Metrics file: " + report_name )
341341 generate_pclp_reports .generate_reports (self .pclp_input , output_gitlab = report_name )
342342
343- if args .pclp_output_html :
343+ if self .pclp_output_html :
344344 print ("Creating PC-lint Plus Findings" )
345345 generate_pclp_reports .generate_html_report (self .FullMP , self .pclp_input , self .pclp_output_html )
346346
@@ -517,7 +517,12 @@ def runExec(self):
517517 os .environ ['VCAST_USE_CI_LICENSES' ] = "1"
518518
519519 os .environ ['VCAST_MANAGE_PROJECT_DIRECTORY' ] = os .path .abspath (args .ManageProject ).rsplit ("." ,1 )[0 ]
520-
520+
521+ if not os .path .isfile (args .ManageProject ):
522+ print ("Manage project (.vcm file) provided does not exist: " + args .ManageProject )
523+ print ("exiting..." )
524+ sys .exit (- 1 )
525+
521526 vcExec = VectorCASTExecute (args )
522527
523528 if args .build_execute or args .build :
You can’t perform that action at this time.
0 commit comments