Changeset 194601 in webkit
- Timestamp:
- Jan 5, 2016, 12:56:43 PM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r194579 r194601 1 2016-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 1 14 2016-01-04 Carlos Garcia Campos <cgarcia@igalia.com> 2 15 -
trunk/Tools/Scripts/run-javascriptcore-tests
r192682 r194601 163 163 my $productDir = jscProductDir(); 164 164 $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). 166 166 $ENV{TZ}="US/Pacific"; # Some tests fail if the time zone is not set to US/Pacific (<https://webkit.org/b/136363>) 167 167 setPathForRunningWebKitApp(\%ENV) if isCygwin(); -
trunk/Tools/Scripts/run-jsc-stress-tests
r191395 r194601 607 607 608 608 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" 610 610 $envVars.each { |var| script += "export " << var << "\n" } 611 611 script += "#{shellCommand} || exit 1" … … 1716 1716 remoteScript += "export DYLD_FRAMEWORK_PATH=\\\"\\$(cd #{$testingFrameworkPath.dirname}; pwd)\\\" && " 1717 1717 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'])} && " 1719 1719 $envVars.each { |var| remoteScript += "export " << var << "\n" } 1720 1720 remoteScript += "#{testRunnerCommand}\"" … … 1776 1776 end 1777 1777 1778 if $enableFTL and ENV["JSC _timeout"]1778 if $enableFTL and ENV["JSCTEST_timeout"] 1779 1779 # Currently, using the FTL is a performance regression particularly in real 1780 1780 # (i.e. non-loopy) benchmarks. Account for this in the timeout. 1781 ENV["JSC _timeout"] = (ENV["JSC_timeout"].to_i * 2).to_s1782 end 1783 1784 if ENV["JSC _timeout"]1781 ENV["JSCTEST_timeout"] = (ENV["JSCTEST_timeout"].to_i * 2).to_s 1782 end 1783 1784 if ENV["JSCTEST_timeout"] 1785 1785 # In the worst case, the processors just interfere with each other. 1786 1786 # 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_s1787 ENV["JSCTEST_timeout"] = (ENV["JSCTEST_timeout"].to_i.to_f * Math.sqrt($numChildProcesses)).to_i.to_s 1788 1788 end 1789 1789
Note:
See TracChangeset
for help on using the changeset viewer.