Changeset 231874 in webkit
- Timestamp:
- May 16, 2018 3:15:49 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r231873 r231874 1 2018-05-16 Leo Balter <leonardo.balter@gmail.com> 2 3 Test262-Runner: Adds a --timeout option 4 https://bugs.webkit.org/show_bug.cgi?id=185696 5 6 Reviewed by Michael Saboff. 7 8 The timeout option is used to set a timeout execution in ms for each test run in JSC. 9 The passed value - if defined - will be used as the value for the JSC --watchdog arg. 10 * Scripts/test262/Runner.pm: 11 (processCLI): 12 (runTest): 13 1 14 2018-05-16 Leo Balter <leonardo.balter@gmail.com> 2 15 -
trunk/Tools/Scripts/test262/Runner.pm
r231873 r231874 84 84 my $latestImport; 85 85 my $runningAllTests; 86 my $timeout; 86 87 87 88 my $expectationsFile = abs_path("$Bin/../../../JSTests/test262/expectations.yaml"); … … 136 137 'stats' => \$stats, 137 138 'r|results=s' => \$specifiedResultsFile, 139 'timeout=i' => \$timeout, 138 140 ); 139 141 … … 235 237 . "Child Processes: $max_process\n"; 236 238 239 print "Test timeout: $timeout\n" if $timeout; 237 240 print "Features to include: " . join(', ', @features) . "\n" if @features; 238 print "Paths: 241 print "Paths: " . join(', ', @cliTestDirs) . "\n" if @cliTestDirs; 239 242 print "Config file: $configFile\n" if $config; 240 243 print "Expectations file: $expectationsFile\n" if $expect; … … 598 601 my $args = ''; 599 602 603 if ($timeout) { 604 $args .= " --watchdog=$timeout "; 605 } 606 600 607 if (exists $data->{negative}) { 601 608 my $type = $data->{negative}->{type}; … … 958 965 Specifies a results file for the --stats or --failing-files options. 959 966 967 =item B<--timeout> 968 969 Specifies a timeout execution in ms for each test. Defers the value to the jsc --watchdog argument. Disabled by default. 970 960 971 =back 961 972
Note: See TracChangeset
for help on using the changeset viewer.