Changeset 194601 in webkit


Ignore:
Timestamp:
Jan 5, 2016 12:56:43 PM (8 years ago)
Author:
mark.lam@apple.com
Message:

Rename badly named JSC_timeout env var to JSCTEST_timeout.
https://bugs.webkit.org/show_bug.cgi?id=152748

Reviewed by Geoffrey Garen.

Now that we validate JSC options, the badly named JSC_timeout env var causes the
bots to have a bad time.

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

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r194579 r194601  
     12016-01-05  Mark Lam  <mark.lam@apple.com>
     2
     3        Rename badly named JSC_timeout env var to JSCTEST_timeout.
     4        https://bugs.webkit.org/show_bug.cgi?id=152748
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Now that we validate JSC options, the badly named JSC_timeout env var causes the
     9        bots to have a bad time.
     10
     11        * Scripts/run-javascriptcore-tests:
     12        * Scripts/run-jsc-stress-tests:
     13
    1142016-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
    215
  • trunk/Tools/Scripts/run-javascriptcore-tests

    r192682 r194601  
    163163my $productDir = jscProductDir();
    164164$ENV{DYLD_FRAMEWORK_PATH} = $productDir;
    165 $ENV{JSC_timeout} = 60 unless $ENV{JSC_timeout}; # Set a 60 second timeout on all jsc tests (if environment variable not defined already).
     165$ENV{JSCTEST_timeout} = 60 unless $ENV{JSCTEST_timeout}; # Set a 60 second timeout on all jsc tests (if environment variable not defined already).
    166166$ENV{TZ}="US/Pacific"; # Some tests fail if the time zone is not set to US/Pacific (<https://webkit.org/b/136363>)
    167167setPathForRunningWebKitApp(\%ENV) if isCygwin();
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r191395 r194601  
    607607
    608608        script += "export DYLD_FRAMEWORK_PATH=$(cd #{$testingFrameworkPath.dirname}; pwd)\n"
    609         script += "export JSC_timeout=#{Shellwords.shellescape(ENV['JSC_timeout'])}\n"
     609        script += "export JSCTEST_timeout=#{Shellwords.shellescape(ENV['JSCTEST_timeout'])}\n"
    610610        $envVars.each { |var| script += "export " << var << "\n" }
    611611        script += "#{shellCommand} || exit 1"
     
    17161716        remoteScript += "export DYLD_FRAMEWORK_PATH=\\\"\\$(cd #{$testingFrameworkPath.dirname}; pwd)\\\" && "
    17171717        remoteScript += "export LD_LIBRARY_PATH=#{$remoteDirectory}/#{$outputDir.basename}/#{$jscPath.dirname} && "
    1718         remoteScript += "export JSC_timeout=#{Shellwords.shellescape(ENV['JSC_timeout'])} && "
     1718        remoteScript += "export JSCTEST_timeout=#{Shellwords.shellescape(ENV['JSCTEST_timeout'])} && "
    17191719        $envVars.each { |var| remoteScript += "export " << var << "\n" }
    17201720        remoteScript += "#{testRunnerCommand}\""
     
    17761776end
    17771777
    1778 if $enableFTL and ENV["JSC_timeout"]
     1778if $enableFTL and ENV["JSCTEST_timeout"]
    17791779    # Currently, using the FTL is a performance regression particularly in real
    17801780    # (i.e. non-loopy) benchmarks. Account for this in the timeout.
    1781     ENV["JSC_timeout"] = (ENV["JSC_timeout"].to_i * 2).to_s
    1782 end
    1783 
    1784 if ENV["JSC_timeout"]
     1781    ENV["JSCTEST_timeout"] = (ENV["JSCTEST_timeout"].to_i * 2).to_s
     1782end
     1783
     1784if ENV["JSCTEST_timeout"]
    17851785    # In the worst case, the processors just interfere with each other.
    17861786    # Increase the timeout proportionally to the number of processors.
    1787     ENV["JSC_timeout"] = (ENV["JSC_timeout"].to_i.to_f * Math.sqrt($numChildProcesses)).to_i.to_s
     1787    ENV["JSCTEST_timeout"] = (ENV["JSCTEST_timeout"].to_i.to_f * Math.sqrt($numChildProcesses)).to_i.to_s
    17881788end
    17891789
Note: See TracChangeset for help on using the changeset viewer.