Changeset 231360 in webkit


Ignore:
Timestamp:
May 4, 2018 10:36:34 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Test262-Runner: place the processCLI inside the main call
https://bugs.webkit.org/show_bug.cgi?id=185304

Patch by Leo Balter <Leo Balter> on 2018-05-04
Reviewed by Michael Saboff.

  • Scripts/test262/Runner.pm:

(main):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r231350 r231360  
     12018-05-04  Leo Balter  <leonardo.balter@gmail.com>
     2
     3        Test262-Runner: place the processCLI inside the main call
     4        https://bugs.webkit.org/show_bug.cgi?id=185304
     5
     6        Reviewed by Michael Saboff.
     7
     8        * Scripts/test262/Runner.pm:
     9        (main):
     10
    1112018-05-04  Carlos Garcia Campos  <cgarcia@igalia.com>
    212
  • trunk/Tools/Scripts/test262/Runner.pm

    r231328 r231360  
    9393
    9494my $tempdir = tempdir();
    95 
    96 my @default_harnesses = (
    97     "$harnessDir/sta.js",
    98     "$harnessDir/assert.js",
    99     "$harnessDir/doneprintHandle.js",
    100     "$Bin/agent.js"
    101 );
    102 
    10395my ($deffh, $deffile) = getTempFile();
    104 print $deffh getHarness(<@default_harnesses>);
     96
     97my @default_harnesses;
    10598
    10699my $startTime = time();
    107100
    108 processCLI();
    109101main();
    110102
     
    224216
    225217sub main {
     218    processCLI();
     219
     220    @default_harnesses = (
     221        "$harnessDir/sta.js",
     222        "$harnessDir/assert.js",
     223        "$harnessDir/doneprintHandle.js",
     224        "$Bin/agent.js"
     225    );
     226    print $deffh getHarness(<@default_harnesses>);
    226227
    227228    # If not commandline test path supplied, use the root directory of all tests.
Note: See TracChangeset for help on using the changeset viewer.