Changeset 232996 in webkit


Ignore:
Timestamp:
Jun 19, 2018 5:09:27 PM (6 years ago)
Author:
commit-queue@webkit.org
Message:

[test262-runner] Reduce flakiness of unit tests for the runner
https://bugs.webkit.org/show_bug.cgi?id=186824

Patch by Leo Balter <Leo Balter> on 2018-06-19
Reviewed by Michael Saboff.

  • Scripts/test262/Runner.pm:

(main):

  • Scripts/webkitperl/test262_unittest/test262-runner-tests.pl:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r232994 r232996  
     12018-06-19  Leo Balter  <leonardo.balter@gmail.com>
     2
     3        [test262-runner] Reduce flakiness of unit tests for the runner
     4        https://bugs.webkit.org/show_bug.cgi?id=186824
     5
     6        Reviewed by Michael Saboff.
     7
     8        * Scripts/test262/Runner.pm:
     9        (main):
     10        * Scripts/webkitperl/test262_unittest/test262-runner-tests.pl:
     11
    1122018-06-19  Leo Balter  <leonardo.balter@gmail.com>
    213
  • trunk/Tools/Scripts/test262/Runner.pm

    r232994 r232996  
    347347            # each child starts with a file;
    348348            my $file = shift @files;
    349             chomp $file;
    350349            if ($file) {
     350                chomp $file;
    351351                print $child "$file\n";
    352352                $activeChildren++;
  • trunk/Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl

    r232775 r232996  
    4848
    4949my $Bin = $FindBin::Bin;
    50 my $runner = abs_path("$Bin/../../test262-runner");
     50my $runner = abs_path("$Bin/../../test262-runner -p 1");
    5151my $mockTest262 = abs_path("$Bin/fixtures");
    5252
     
    134134    my $expectedExitCode = $testCase->{EXITSTATUS};
    135135    my $testName =  $testCase->{TESTNAME} . " (exit code: $expectedExitCode)";
    136     is($exitCode, $testCase->{EXITSTATUS}, $testName);
     136    is($exitCode, $expectedExitCode, $testName);
    137137
    138138    # Test the number of occurences of string "! NEW FAIL"
Note: See TracChangeset for help on using the changeset viewer.