Changeset 244543 in webkit
- Timestamp:
- Apr 23, 2019 9:10:53 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r244541 r244543 1 2019-04-23 Stephan Szabo <stephan.szabo@sony.com> 2 3 [PlayStation] Support running of JSC tests on remote playstation devices 4 https://bugs.webkit.org/show_bug.cgi?id=197170 5 6 Reviewed by Ross Kirsling. 7 8 Script changes 9 10 * Scripts/run-javascriptcore-tests: 11 (runJSCStressTests): Pass arguments for playstation to 12 run-jsc-stress-tests 13 * Scripts/run-jsc-stress-tests: 14 Handle $hostOS=="playstation" for determineArchitecture, turning 15 off $isFTLPlatform and runProfiler and defaulting test writer. 16 * Scripts/webkitdirs.pm: 17 (jscPath): PlayStation WebKit executables have .elf extension 18 (executableProductDir): PlayStation builds on Windows hosts but 19 uses bin directory rather than bin64/bin32 for executable output 20 location. 21 * Scripts/webkitruby/jsc-stress-test-writer-playstation.rb: Added. 22 1 23 2019-04-23 Don Olmstead <don.olmstead@sony.com> 2 24 -
trunk/Tools/Scripts/run-javascriptcore-tests
r243278 r244543 541 541 push(@jscStressDriverCmd, ("--verbose") x $verbose) if ($verbose > 0); 542 542 543 if (isPlayStation()) { 544 push(@jscStressDriverCmd, "--os=playstation"); 545 push(@jscStressDriverCmd, "--no-copy"); 546 } 547 543 548 unshift @jscStressDriverCmd, wrapperPrefixIfNeeded() if shouldUseJhbuild(); 544 549 -
trunk/Tools/Scripts/run-jsc-stress-tests
r244241 r244543 426 426 when "windows" 427 427 determineArchitectureFromPEBinary 428 when "playstation" 429 "x86-64" 428 430 else 429 431 $stderr.puts "Warning: unable to determine architecture on this platform." … … 448 450 $hostOS = determineOS unless $hostOS 449 451 $architecture = determineArchitecture unless $architecture 450 $isFTLPlatform = !($architecture == "x86" || $architecture == "arm" || $architecture == "mips" || $hostOS == "windows" )452 $isFTLPlatform = !($architecture == "x86" || $architecture == "arm" || $architecture == "mips" || $hostOS == "windows" || $hostOS == "playstation") 451 453 452 454 if $architecture == "x86" … … 470 472 if $remoteHosts.length > 1 and $testRunnerType != :make 471 473 raise "Multiple remote hosts only supported with make runner" 474 end 475 476 if $hostOS == "playstation" && $testWriter == "default" 477 $testWriter = "playstation" 472 478 end 473 479 … … 505 511 if parentDirectory.basename.to_s == "Resources" and parentDirectory.dirname.basename.to_s == "JavaScriptCore.framework" 506 512 parentDirectory.dirname 513 elsif $hostOS == "playstation" 514 jscPath.dirname 507 515 elsif parentDirectory.basename.to_s =~ /^Debug/ or parentDirectory.basename.to_s =~ /^Release/ 508 516 jscPath.dirname + "JavaScriptCore.framework" … … 902 910 903 911 def runProfiler 904 if $remote or ($architecture !~ /x86/i and $hostOS == "darwin") or ($hostOS == "windows") 912 if $remote or ($architecture !~ /x86/i and $hostOS == "darwin") or ($hostOS == "windows") or ($hostOS == "playstation") 905 913 skip 906 914 return -
trunk/Tools/Scripts/webkitdirs.pm
r244171 r244543 469 469 my $jscName = "jsc"; 470 470 $jscName .= "_debug" if configuration() eq "Debug_All"; 471 $jscName .= ".exe" if (isAnyWindows()); 471 if (isPlayStation()) { 472 $jscName .= ".elf"; 473 } elsif (isAnyWindows()) { 474 $jscName .= ".exe"; 475 } 472 476 return "$productDir/$jscName" if -e "$productDir/$jscName"; 473 477 return "$productDir/JavaScriptCore.framework/Resources/$jscName"; … … 766 770 767 771 my $binaryDirectory; 768 if (isAnyWindows() ) {772 if (isAnyWindows() && !isPlayStation()) { 769 773 $binaryDirectory = isWin64() ? "bin64" : "bin32"; 770 } elsif (isGtk() || isJSCOnly() || isWPE() ) {774 } elsif (isGtk() || isJSCOnly() || isWPE() || isPlayStation()) { 771 775 $binaryDirectory = "bin"; 772 776 } else {
Note: See TracChangeset
for help on using the changeset viewer.