Title: [265204] trunk/Tools
Revision
265204
Author
[email protected]
Date
2020-08-03 10:30:53 -0700 (Mon, 03 Aug 2020)

Log Message

run-jsc-stress-test: Set DYLD_FRAMEWORK_PATH to "$(cd ../.vm; pwd)" because it escape shell words
https://bugs.webkit.org/show_bug.cgi?id=215077

Reviewed by Alexey Proskuryakov.

* Scripts/run-jsc-stress-tests:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (265203 => 265204)


--- trunk/Tools/ChangeLog	2020-08-03 17:27:52 UTC (rev 265203)
+++ trunk/Tools/ChangeLog	2020-08-03 17:30:53 UTC (rev 265204)
@@ -1,3 +1,12 @@
+2020-08-03  Zhifei Fang  <[email protected]>
+
+        run-jsc-stress-test: Set DYLD_FRAMEWORK_PATH to "$(cd ../.vm; pwd)" because it escape shell words
+        https://bugs.webkit.org/show_bug.cgi?id=215077
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/run-jsc-stress-tests:
+
 2020-08-03  Brian Burg  <[email protected]>
 
         REGRESSION(r264766) webkitpy: newly added --suite flag conflicts with other --suite flags in safaripy

Modified: trunk/Tools/Scripts/run-jsc-stress-tests (265203 => 265204)


--- trunk/Tools/Scripts/run-jsc-stress-tests	2020-08-03 17:27:52 UTC (rev 265203)
+++ trunk/Tools/Scripts/run-jsc-stress-tests	2020-08-03 17:30:53 UTC (rev 265204)
@@ -2114,11 +2114,11 @@
 end
 
 def exportBaseEnvironmentVariables
-    dyldFrameworkPath = "$(cd #{$testingFrameworkPath.dirname}; pwd)"
-    ldLibraryPath = "$(pwd)/#{$outputDir.basename}/#{$jscPath.dirname}"
+    dyldFrameworkPath = "\\$(cd #{$testingFrameworkPath.dirname}; pwd)"
+    ldLibraryPath = "\\$(pwd)/#{$outputDir.basename}/#{$jscPath.dirname}"
     [
-        "export DYLD_FRAMEWORK_PATH=#{Shellwords.shellescape(dyldFrameworkPath)} && ",
-        "export LD_LIBRARY_PATH=#{Shellwords.shellescape(ldLibraryPath)} &&",
+        "export DYLD_FRAMEWORK_PATH=#{dyldFrameworkPath} && ",
+        "export LD_LIBRARY_PATH=#{ldLibraryPath} &&",
         "export JSCTEST_timeout=#{Shellwords.shellescape(ENV['JSCTEST_timeout'])} && ",
         "export JSCTEST_hardTimeout=#{Shellwords.shellescape(ENV['JSCTEST_hardTimeout'])} && ",
         "export JSCTEST_memoryLimit=#{Shellwords.shellescape(ENV['JSCTEST_memoryLimit'])} && ",
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to