Title: [231601] trunk/Tools
Revision
231601
Author
[email protected]
Date
2018-05-09 15:18:36 -0700 (Wed, 09 May 2018)

Log Message

Fix Test262 Runner to have DYLD_FRAMEWORK_PATH always set
https://bugs.webkit.org/show_bug.cgi?id=185488

Patch by Leo Balter <[email protected]> on 2018-05-09
Reviewed by Michael Saboff.

* Scripts/test262/Runner.pm:
(processCLI):
(getBuildPath):
(runTest):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (231600 => 231601)


--- trunk/Tools/ChangeLog	2018-05-09 22:04:54 UTC (rev 231600)
+++ trunk/Tools/ChangeLog	2018-05-09 22:18:36 UTC (rev 231601)
@@ -1,3 +1,15 @@
+2018-05-09  Leo Balter  <[email protected]>
+
+        Fix Test262 Runner to have DYLD_FRAMEWORK_PATH always set
+        https://bugs.webkit.org/show_bug.cgi?id=185488
+
+        Reviewed by Michael Saboff.
+
+        * Scripts/test262/Runner.pm:
+        (processCLI):
+        (getBuildPath):
+        (runTest):
+
 2018-05-09  Richard Houle  <[email protected]>
 
         [Cocoa] Some fields are not identified as [WKWebProcessPlugInNodeHandle isTextField]

Modified: trunk/Tools/Scripts/test262/Runner.pm (231600 => 231601)


--- trunk/Tools/Scripts/test262/Runner.pm	2018-05-09 22:04:54 UTC (rev 231600)
+++ trunk/Tools/Scripts/test262/Runner.pm	2018-05-09 22:18:36 UTC (rev 231601)
@@ -172,7 +172,6 @@
             die "Error: --jsc path does not exist.";
         }
 
-        # For custom JSC paths, Sets only if not yet defined
         if (not defined $DYLD_FRAMEWORK_PATH) {
             $DYLD_FRAMEWORK_PATH = dirname($JSC);
         }
@@ -466,6 +465,7 @@
     my $jscDir = qx($cmd);
     chomp $jscDir;
 
+
     my $jsc;
     $jsc = $jscDir . '/jsc';
 
@@ -613,7 +613,8 @@
     my $defaultHarness = '';
     $defaultHarness = $deffile if $scenario ne 'raw';
 
-    my $result = qx/$JSC $args $defaultHarness $includesfile '$prefixFile$filename'/;
+    my $prefix = qq(DYLD_FRAMEWORK_PATH=$DYLD_FRAMEWORK_PATH);
+    my $result = qx($prefix $JSC $args $defaultHarness $includesfile '$prefixFile$filename');
 
     chomp $result;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to