⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 179930 in webkit


Ignore:
Timestamp:
Feb 11, 2015, 9:10:01 AM (12 years ago)
Author:
Csaba Osztrogonác
Message:

run-jsc-stress-tests should pass JSC_timeout to remote hosts
https://bugs.webkit.org/show_bug.cgi?id=141164

Reviewed by Darin Adler.

Additonally removed IMPORTANT_ENVS, since JSC_timeout was the only one.

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

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r179922 r179930  
     12015-02-11  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        run-jsc-stress-tests should pass JSC_timeout to remote hosts
     4        https://bugs.webkit.org/show_bug.cgi?id=141164
     5
     6        Reviewed by Darin Adler.
     7
     8        Additonally removed IMPORTANT_ENVS, since JSC_timeout was the only one.
     9
     10        * Scripts/run-jsc-stress-tests:
     11
    1122015-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
    213
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r179778 r179930  
    4646
    4747HELPERS_PATH = SCRIPTS_PATH + "jsc-stress-test-helpers"
    48 
    49 IMPORTANT_ENVS = ["JSC_timeout"]
    5048
    5149begin
     
    493491
    494492        script += "export DYLD_FRAMEWORK_PATH=$(cd #{$testingFrameworkPath.dirname}; pwd)\n"
    495         IMPORTANT_ENVS.each {
    496             | key |
    497             if ENV[key]
    498                 script += "export #{key}=#{Shellwords.shellescape(ENV[key])}\n"
    499             end
    500         }
     493        script += "export JSC_timeout=#{Shellwords.shellescape(ENV['JSC_timeout'])}\n"
    501494        script += "#{shellCommand} || exit 1"
    502495        "echo #{Shellwords.shellescape(script)} > #{Shellwords.shellescape((Pathname.new("..") + @name).to_s)}"
     
    13831376        remoteScript += "tar xzf #{$tarFileName} && "
    13841377        remoteScript += "cd #{$outputDir.basename}/.runner && "
    1385         remoteScript += "DYLD_FRAMEWORK_PATH=\\\"\\$(cd #{$testingFrameworkPath.dirname}; pwd)\\\" sh runscript"
    1386         remoteScript += "\""
     1378        remoteScript += "export DYLD_FRAMEWORK_PATH=\\\"\\$(cd #{$testingFrameworkPath.dirname}; pwd)\\\" && "
     1379        remoteScript += "export JSC_timeout=#{Shellwords.shellescape(ENV['JSC_timeout'])} && "
     1380        remoteScript += "sh runscript\""
    13871381        runAndMonitorTestRunnerCommand("ssh", "-p", $remotePort.to_s, "#{$remoteUser}@#{$remoteHost}", remoteScript)
    13881382    else
Note: See TracChangeset for help on using the changeset viewer.