Skip to content

Commit b76a4c7

Browse files
committed
stress/ensure-crash.js shouldn't spew stuff onto my screen
https://bugs.webkit.org/show_bug.cgi?id=210931 Reviewed by Ross Kirsling. Set noisyOutputHandler when crash! is specified. We also specify noisyOutputHandler for runComplexTest. * Scripts/run-jsc-stress-tests: * Scripts/webkitruby/jsc-stress-test-writer-default.rb: * Scripts/webkitruby/jsc-stress-test-writer-playstation.rb: * Scripts/webkitruby/jsc-stress-test-writer-ruby.rb: Canonical link: https://commits.webkit.org/223842@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 06f9222 commit b76a4c7

5 files changed

Lines changed: 24 additions & 1 deletion

File tree

Tools/ChangeLog

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2020-04-23 Yusuke Suzuki <ysuzuki@apple.com>
2+
3+
stress/ensure-crash.js shouldn't spew stuff onto my screen
4+
https://bugs.webkit.org/show_bug.cgi?id=210931
5+
6+
Reviewed by Ross Kirsling.
7+
8+
Set noisyOutputHandler when crash! is specified. We also specify noisyOutputHandler for runComplexTest.
9+
10+
* Scripts/run-jsc-stress-tests:
11+
* Scripts/webkitruby/jsc-stress-test-writer-default.rb:
12+
* Scripts/webkitruby/jsc-stress-test-writer-playstation.rb:
13+
* Scripts/webkitruby/jsc-stress-test-writer-ruby.rb:
14+
115
2020-04-23 Yusuke Suzuki <ysuzuki@apple.com>
216

317
Disable useKernTCSM=false for JSC stress tests to make EWS faster

Tools/Scripts/run-jsc-stress-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ def runComplexTest(before, after, additionalEnv, *options)
14311431
prepareExtraRelativeFiles(before.map{|v| (Pathname("..") + v).to_s}, $collection)
14321432
prepareExtraRelativeFiles(after.map{|v| (Pathname("..") + v).to_s}, $collection)
14331433
args = [pathToVM.to_s] + BASE_OPTIONS + $testSpecificRequiredOptions + options + before.map{|v| v.to_s} + [$benchmark.to_s] + after.map{|v| v.to_s}
1434-
addRunCommand("complex", args, silentOutputHandler, simpleErrorHandler, *additionalEnv)
1434+
addRunCommand("complex", args, noisyOutputHandler, simpleErrorHandler, *additionalEnv)
14351435
end
14361436

14371437
def runMozillaTest(kind, mode, extraFiles, *options)

Tools/Scripts/webkitruby/jsc-stress-test-writer-default.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ def initialize(directory, arguments, family, name, outputHandler, errorHandler)
227227
@errorHandler = errorHandler
228228
@isSlow = !!$runCommandOptions[:isSlow]
229229
@shouldCrash = !!$runCommandOptions[:shouldCrash]
230+
if @shouldCrash
231+
@outputHandler = noisyOutputHandler
232+
end
230233
@additionalEnv = []
231234
end
232235

Tools/Scripts/webkitruby/jsc-stress-test-writer-playstation.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ def initialize(directory, arguments, family, name, outputHandler, errorHandler)
273273
@errorHandler = errorHandler
274274
@isSlow = !!$runCommandOptions[:isSlow]
275275
@shouldCrash = !!$runCommandOptions[:shouldCrash]
276+
if @shouldCrash
277+
@outputHandler = noisyOutputHandler
278+
end
276279
@additionalEnv = []
277280
end
278281

Tools/Scripts/webkitruby/jsc-stress-test-writer-ruby.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ def initialize(directory, arguments, family, name, outputHandler, errorHandler)
273273
@errorHandler = errorHandler
274274
@isSlow = !!$runCommandOptions[:isSlow]
275275
@shouldCrash = !!$runCommandOptions[:shouldCrash]
276+
if @shouldCrash
277+
@outputHandler = noisyOutputHandler
278+
end
276279
@additionalEnv = []
277280
end
278281

0 commit comments

Comments
 (0)