Title: [258385] trunk/Tools
Revision
258385
Author
sbar...@apple.com
Date
2020-03-13 00:24:36 -0700 (Fri, 13 Mar 2020)

Log Message

Pull in JS tests from "Internal" when there are "Internal" tests in an adjacent directory
https://bugs.webkit.org/show_bug.cgi?id=209038

Reviewed by Keith Miller.

This allows us to automatically pull in some tests that are in non open sourced Apple
checkouts.

* Scripts/run-_javascript_core-tests:
(runJSCStressTests):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (258384 => 258385)


--- trunk/Tools/ChangeLog	2020-03-13 05:55:58 UTC (rev 258384)
+++ trunk/Tools/ChangeLog	2020-03-13 07:24:36 UTC (rev 258385)
@@ -1,3 +1,16 @@
+2020-03-13  Saam Barati  <sbar...@apple.com>
+
+        Pull in JS tests from "Internal" when there are "Internal" tests in an adjacent directory
+        https://bugs.webkit.org/show_bug.cgi?id=209038
+
+        Reviewed by Keith Miller.
+
+        This allows us to automatically pull in some tests that are in non open sourced Apple
+        checkouts.
+
+        * Scripts/run-_javascript_core-tests:
+        (runJSCStressTests):
+
 2020-03-12  Ryosuke Niwa  <rn...@webkit.org>
 
         Crash in TextManipulationController::replace

Modified: trunk/Tools/Scripts/run-_javascript_core-tests (258384 => 258385)


--- trunk/Tools/Scripts/run-_javascript_core-tests	2020-03-13 05:55:58 UTC (rev 258384)
+++ trunk/Tools/Scripts/run-_javascript_core-tests	2020-03-13 07:24:36 UTC (rev 258385)
@@ -681,6 +681,13 @@
             "JSTests/complex.yaml",
             "JSTests/ChakraCore.yaml",
             "JSTests/wasm.yaml");
+
+        my $internalTestsDir = File::Spec->catdir(dirname(sourceDir()), "Internal", "Tests", "InternalJSTests");
+        if (-e $internalTestsDir and -d $internalTestsDir) {
+            push(@testList, File::Spec->catfile($internalTestsDir, "internal-js-tests.yaml"));
+            push(@testList, File::Spec->catfile($internalTestsDir, "regress.yaml"));
+        }
+
         $hasTestsToRun = 1;
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to