Changeset 263616 in webkit


Ignore:
Timestamp:
Jun 27, 2020 7:18:34 AM (4 years ago)
Author:
stephan.szabo@sony.com
Message:

[PlayStation] Update test runner for changes to Options and signing
https://bugs.webkit.org/show_bug.cgi?id=213650

Reviewed by Don Olmstead.

Source/JavaScriptCore:

  • shell/playstation/Initializer.cpp: Load ICU library
  • shell/playstation/TestShell.cpp: Update between test options reset

Tools:

  • Scripts/webkitdirs.pm: Update extension for PlayStation binary
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r263575 r263616  
     12020-06-27  Stephan Szabo  <stephan.szabo@sony.com>
     2
     3        [PlayStation] Update test runner for changes to Options and signing
     4        https://bugs.webkit.org/show_bug.cgi?id=213650
     5
     6        Reviewed by Don Olmstead.
     7
     8        * shell/playstation/Initializer.cpp: Load ICU library
     9        * shell/playstation/TestShell.cpp: Update between test options reset
     10
    1112020-06-26  Geoffrey Garen  <ggaren@apple.com>
    212
  • trunk/Source/JavaScriptCore/shell/playstation/Initializer.cpp

    r262096 r263616  
    4545    loadLibraryOrExit("PosixWebKit");
    4646    loadLibraryOrExit("libJavaScriptCore");
     47    loadLibraryOrExit("libicu");
    4748}
  • trunk/Source/JavaScriptCore/shell/playstation/TestShell.cpp

    r263575 r263616  
    2626#include "../jsc.cpp"
    2727
     28#include <wtf/Language.h>
     29
     30#define STATIC_OPTION(type_, name_, defaultValue_, availability_, description_) \
     31    static OptionsStorage::type_ orig##name_;
     32    FOR_EACH_JSC_OPTION(STATIC_OPTION)
     33#undef STATIC_OPTION
     34
    2835extern "C" void setupTestRun()
    2936{
     37    CommandLine options(0, nullptr);
     38#define STATIC_OPTION(type_, name_, defaultValue_, availability_, description_) \
     39    orig##name_ = JSC::Options::name_();
     40    FOR_EACH_JSC_OPTION(STATIC_OPTION)
     41#undef STATIC_OPTION
     42
    3043    // Need to initialize WTF threading before we start any threads. Cannot initialize JSC
    3144    // threading yet, since that would do somethings that we'd like to defer until after we
     
    4760{
    4861#define INIT_OPTION(type_, name_, defaultValue_, availability_, description_) \
    49     JSC::Options::name_() = JSC::Options::name_##Default();
     62    JSC::Options::name_() = orig##name_;
    5063    FOR_EACH_JSC_OPTION(INIT_OPTION)
    5164#undef INIT_OPTION
     65    overrideUserPreferredLanguages(platformUserPreferredLanguages());
    5266}
    5367
  • trunk/Tools/ChangeLog

    r263610 r263616  
     12020-06-27  Stephan Szabo  <stephan.szabo@sony.com>
     2
     3        [PlayStation] Update test runner for changes to Options and signing
     4        https://bugs.webkit.org/show_bug.cgi?id=213650
     5
     6        Reviewed by Don Olmstead.
     7
     8        * Scripts/webkitdirs.pm: Update extension for PlayStation binary
     9
    1102020-06-26  Jonathan Bedard  <jbedard@apple.com>
    211
  • trunk/Tools/Scripts/webkitdirs.pm

    r263569 r263616  
    503503    $jscName .= "_debug"  if configuration() eq "Debug_All";
    504504    if (isPlayStation()) {
    505         $jscName .= ".elf";
     505        $jscName .= ".self";
    506506    } elsif (isAnyWindows()) {
    507507        $jscName .= ".exe";
Note: See TracChangeset for help on using the changeset viewer.