Changeset 210569 in webkit


Ignore:
Timestamp:
Jan 10, 2017 5:28:00 PM (7 years ago)
Author:
mark.lam@apple.com
Message:

Reverting run-jsc-stress-tests' $buildType to use string values.
https://bugs.webkit.org/show_bug.cgi?id=166912

Rubber stamped by Filip Pizlo.

This is so that we can test for it in the tests e.g.
@ if $buildType == "debug" then runDefault("--maxSingleAllocationSize=1048576") else skip end

  • Scripts/run-jsc-stress-tests:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r210566 r210569  
     12017-01-10  Mark Lam  <mark.lam@apple.com>
     2
     3        Reverting run-jsc-stress-tests' $buildType to use string values.
     4        https://bugs.webkit.org/show_bug.cgi?id=166912
     5
     6        Rubber stamped by Filip Pizlo.
     7
     8        This is so that we can test for it in the tests e.g.
     9        //@ if $buildType == "debug" then runDefault("--maxSingleAllocationSize=1048576") else skip end
     10
     11        * Scripts/run-jsc-stress-tests:
     12
    1132017-01-10  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r210114 r210569  
    118118$envVars = []
    119119$quickMode = false
    120 $buildType = :release
     120$buildType = "release"
    121121$forceCollectContinuously = false
    122122
     
    232232        $quickMode = true
    233233    when '--debug'
    234         $buildType = :debug
     234        $buildType = "debug"
    235235    when '--release'
    236         $buildType = :release
     236        $buildType = "release"
    237237    end
    238238}
     
    258258    # If we're not provided a JSC path, try to come up with a sensible JSC path automagically.
    259259    command = SCRIPTS_PATH.join("webkit-build-directory").to_s
    260     command += ($buildType == :release) ? " --release" : " --debug"
     260    command += ($buildType == "release") ? " --release" : " --debug"
    261261    command += " --executablePath"
    262262
     
    432432
    433433def shouldCollectContinuously?
    434     $buildType == :release or $forceCollectContinuously
     434    $buildType == "release" or $forceCollectContinuously
    435435end
    436436
Note: See TracChangeset for help on using the changeset viewer.