@@ -316,9 +316,7 @@ def HasRun(self, output):
316
316
317
317
class ActionsAnnotationProgressIndicator (DotsProgressIndicator ):
318
318
def AboutToRun (self , case ):
319
- case .additional_flags = case .additional_flags .copy () if hasattr (case , 'additional_flags' ) else []
320
- case .additional_flags .append ('--test-reporter=./test/common/test-error-reporter.js' )
321
- case .additional_flags .append ('--test-reporter-destination=stdout' )
319
+ pass
322
320
323
321
def GetAnnotationInfo (self , test , output ):
324
322
traceback = output .stdout + output .stderr
@@ -351,9 +349,7 @@ def Starting(self):
351
349
self ._done = 0
352
350
353
351
def AboutToRun (self , case ):
354
- case .additional_flags = case .additional_flags .copy () if hasattr (case , 'additional_flags' ) else []
355
- case .additional_flags .append ('--test-reporter=./test/common/test-error-reporter.js' )
356
- case .additional_flags .append ('--test-reporter-destination=stdout' )
352
+ pass
357
353
358
354
def HasRun (self , output ):
359
355
self ._done += 1
@@ -1450,6 +1446,9 @@ def BuildOptions():
1450
1446
result .add_option ("--type" ,
1451
1447
help = "Type of build (simple, fips, coverage)" ,
1452
1448
default = None )
1449
+ result .add_option ("--error-reporter" ,
1450
+ help = "use error reporter" ,
1451
+ default = False , action = "store_true" )
1453
1452
return result
1454
1453
1455
1454
@@ -1668,6 +1667,10 @@ def Main():
1668
1667
if options .worker :
1669
1668
run_worker = join (workspace , "tools" , "run-worker.js" )
1670
1669
options .node_args .append (run_worker )
1670
+
1671
+ if options .error_reporter :
1672
+ options .node_args .append ('--test-reporter=./test/common/test-error-reporter.js' )
1673
+ options .node_args .append ('--test-reporter-destination=stdout' )
1671
1674
1672
1675
processor = GetSpecialCommandProcessor (options .special_command )
1673
1676
0 commit comments