File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -563,9 +563,11 @@ def test_suite(argv):
563563 if not test .compile_successful :
564564 error_msg = "ERROR: compilation failed"
565565 report .report_single_test (suite , test , test_list , failure_msg = error_msg )
566+
566567 # Print compilation error message (useful for CI tests)
567- with open (f"{ output_dir } /{ test .name } .make.out" ) as f :
568- print (f .read ())
568+ if suite .verbose > 0 :
569+ with open (f"{ output_dir } /{ test .name } .make.out" ) as f :
570+ print (f .read ())
569571
570572 continue
571573
@@ -1082,9 +1084,11 @@ def test_suite(argv):
10821084 else :
10831085 analysis_successful = False
10841086 suite .log .warn ("analysis failed..." )
1087+
10851088 # Print analysis error message (useful for CI tests)
1086- with open (outfile ) as f :
1087- print (f .read ())
1089+ if suite .verbose > 0 :
1090+ with open (outfile ) as f :
1091+ print (f .read ())
10881092
10891093 test .analysis_successful = analysis_successful
10901094
You can’t perform that action at this time.
0 commit comments