Changeset 231122 in webkit
- Timestamp:
- Apr 27, 2018 5:21:55 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r231115 r231122 1 2018-04-27 Stephan Szabo <stephan.szabo@sony.com> 2 3 [WinCairo] Support --no-copy for jsc tests in wincairo tests, add copying of dlls for copy case 4 https://bugs.webkit.org/show_bug.cgi?id=185049 5 6 Reviewed by Keith Miller. 7 8 * Scripts/run-javascriptcore-tests: 9 (runJSCStressTests): 10 * Scripts/run-jsc-stress-tests: 11 1 12 2018-04-26 Ryosuke Niwa <rniwa@webkit.org> 2 13 -
trunk/Tools/Scripts/run-javascriptcore-tests
r226395 r231122 59 59 60 60 my $buildJSC = 1; 61 my $copyJSC = 1; 61 62 62 63 use constant { … … 146 147 print "Don't recognize value for RUN_JAVASCRIPTCORE_TESTS_BUILD environment variable: '" 147 148 . $ENV{RUN_JAVASCRIPTCORE_TESTS_BUILD} . "'. Should be set to 'true' or 'false'.\n"; 149 } 150 } 151 152 if ($ENV{RUN_JAVASCRIPTCORE_TESTS_COPY}) { 153 if ($ENV{RUN_JAVASCRIPTCORE_TESTS_COPY} eq "true") { 154 $copyJSC = 1; 155 } elsif ($ENV{RUN_JAVASCRIPTCORE_TESTS_COPY} eq "false") { 156 $copyJSC = 0; 157 } else { 158 print "Don't recognize value for RUN_JAVASCRIPTCORE_TESTS_COPY environment variable: '" 159 . $ENV{RUN_JAVASCRIPTCORE_TESTS_COPY} . "'. Should be set to 'true' or 'false'.\n"; 148 160 } 149 161 } … … 175 187 my $quickModeDefault = $runQuickMode ? "some" : "all"; 176 188 my $failFastDefault = $failFast ? "fail fast" : "don't fail fast"; 189 my $copyJSCDefault = $copyJSC ? "copy" : "do not copy"; 177 190 my $filter; 178 191 my $usage = <<EOF; … … 195 208 --[no-]fail-fast Stop this script when a test family reports an error or failure (default: $failFastDefault) 196 209 --[no-]force-collectContinuously Enable the collectContinuously mode even if it was disabled on this platform. 210 --[no-]copy Copy (or don't copy) the JavaScriptCore build product before testing (default: $copyJSCDefault) 197 211 --json-output= Create a file at specified path, listing failed stress tests in JSON format. 198 212 --tarball Create a tarball of the bundle produced by running the JSC stress tests. … … 249 263 'fail-fast!' => \$failFast, 250 264 'force-collectContinuously!' => \$forceCollectContinuously, 265 'copy!' => \$copyJSC, 251 266 'json-output=s' => \$jsonFileName, 252 267 'tarball!' => \$createTarball, … … 438 453 } 439 454 455 if (!$copyJSC) { 456 push(@jscStressDriverCmd, "--no-copy"); 457 } 458 440 459 if ($forceCollectContinuously) { 441 460 push(@jscStressDriverCmd, "--force-collectContinuously"); -
trunk/Tools/Scripts/run-jsc-stress-tests
r230759 r231122 1580 1580 if $doNotMessWithVMPath 1581 1581 if !$remote and !$tarball 1582 $testingFrameworkPath = frameworkFromJSCPath($jscPath).realpath1582 $testingFrameworkPath = (frameworkFromJSCPath($jscPath) || $jscPath.dirname).realpath 1583 1583 $jscPath = Pathname.new($jscPath).realpath 1584 1584 else … … 1600 1600 elsif $hostOS == "windows" 1601 1601 # Make sure to copy dll along with jsc on Windows 1602 source = [originalJSCPath] + Dir.glob(File.dirname(originalJSCPath) + "/jscLib.dll") 1602 originalJSCDir = File.dirname(originalJSCPath) 1603 source = [originalJSCPath] + [originalJSCDir + "/jscLib.dll"] 1604 1605 # Check for and copy JavaScriptCore.dll and WTF.dll for dynamic builds 1606 javaScriptCoreDLLPath = File.join(originalJSCDir, "JavaScriptCore.dll") 1607 wtfDLLPath = File.join(originalJSCDir, "WTF.dll") 1608 if (File.exists?(javaScriptCoreDLLPath)) 1609 source = source + [javaScriptCoreDLLPath] 1610 end 1611 if (File.exists?(wtfDLLPath)) 1612 source = source + [wtfDLLPath] 1613 end 1614 1603 1615 destination = $jscPath.dirname 1604 1616
Note: See TracChangeset
for help on using the changeset viewer.