[Webkit-unassigned] [Bug 174884] New: Add ability to only run specific tests in run-javascriptcore-tests.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 26 21:45:28 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174884

            Bug ID: 174884
           Summary: Add ability to only run specific tests in
                    run-javascriptcore-tests.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com
                CC: lforschler at apple.com

For example, if we only want to run testapi, we can do so as follows:
    $ run-javascriptcore-tests --testapi

Previously, specifying --testapi effectively does nothing because we run all tests by default.  Only --no-testapi had the effect of disabling the test set.  This old behavior for --testapi is not very useful or meaningful.  We're now changing it to mean that we will only run that test.

With this change, we can also run more than one set of tests.  For example, if only want to run testmasm and testair, we can do so as follows:
    $ run-javascriptcore-tests --testmasm --testair

By default, if no specific test option is specified, run-javascript-core will run all tests.

Note that the jsc stress tests (--jsc-stress) are a different set of tests than the mozilla tests (-mozilla-tests).  Hence, if you only specify one of them, the other set will not run.  For example, the following only runs the mozilla tests:
    $ run-javascriptcore-tests --mozilla-tests

Note also that --jit-stress-tests is not for choosing a different set of tests.  Instead, it is used for determining whether we run the jit test configuration subset of the jsc stress test and mozilla tests.  As a result, specifying --jit-stress-tests will not omit other tests.  For example, the following still runs all tests:
    $ run-javascriptcore-tests --jit-stress-tests

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170727/f9ab6423/attachment-0001.html>


More information about the webkit-unassigned mailing list