Title: [263023] trunk/Tools
Revision
263023
Author
[email protected]
Date
2020-06-15 01:57:52 -0700 (Mon, 15 Jun 2020)

Log Message

Properly propagate TZ to the remote test devices
https://bugs.webkit.org/show_bug.cgi?id=212816

Reviewed by Philippe Normand.

* Scripts/run-jsc-stress-tests:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (263022 => 263023)


--- trunk/Tools/ChangeLog	2020-06-15 08:35:15 UTC (rev 263022)
+++ trunk/Tools/ChangeLog	2020-06-15 08:57:52 UTC (rev 263023)
@@ -1,3 +1,12 @@
+2020-06-15  Paulo Matos  <[email protected]>
+
+        Properly propagate TZ to the remote test devices
+        https://bugs.webkit.org/show_bug.cgi?id=212816
+
+        Reviewed by Philippe Normand.
+
+        * Scripts/run-jsc-stress-tests:
+
 2020-06-14  Wenson Hsieh  <[email protected]>
 
         [iOS] Two KeyboardInputTests are failing on recent iOS SDK versions

Modified: trunk/Tools/Scripts/run-jsc-stress-tests (263022 => 263023)


--- trunk/Tools/Scripts/run-jsc-stress-tests	2020-06-15 08:35:15 UTC (rev 263022)
+++ trunk/Tools/Scripts/run-jsc-stress-tests	2020-06-15 08:57:52 UTC (rev 263023)
@@ -2095,6 +2095,7 @@
         remoteScript += "export DYLD_FRAMEWORK_PATH=\\\"\\$(cd #{$testingFrameworkPath.dirname}; pwd)\\\" && "
         remoteScript += "export LD_LIBRARY_PATH=#{remoteHost.remoteDirectory}/#{$outputDir.basename}/#{$jscPath.dirname} && "
         remoteScript += "export JSCTEST_timeout=#{Shellwords.shellescape(ENV['JSCTEST_timeout'])} && "
+        remoteScript += "export TZ=#{Shellwords.shellescape(ENV['TZ'])} && "
         $envVars.each { |var| remoteScript += "export " << var << "\n" }
         remoteScript += "#{testRunnerCommand(remoteIndex)}\""
         runAndMonitorTestRunnerCommand("ssh", "-o", "NoHostAuthenticationForLocalhost=yes", "-p", remoteHost.port.to_s, "#{remoteHost.user}@#{remoteHost.host}", remoteScript)
@@ -2226,6 +2227,11 @@
     ENV["JSCTEST_timeout"] = (ENV["JSCTEST_timeout"].to_i.to_f * Math.sqrt($numChildProcesses)).to_i.to_s
 end
 
+# Some tests fail if the time zone is not set to US/Pacific
+# https://webkit.org/b/136363
+# Set as done in run-_javascript_-tests
+ENV["TZ"] = "US/Pacific"; 
+
 def runBundle
     raise unless $bundle
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to