Changeset 231602 in webkit


Ignore:
Timestamp:
May 9, 2018 3:22:12 PM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Test262-Runner: Improve the verbose output
https://bugs.webkit.org/show_bug.cgi?id=185491

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

  • Scripts/test262/Import.pm:

(transferFiles):

  • Scripts/test262/Runner.pm:

(processResult):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r231601 r231602  
     12018-05-09  Leo Balter  <leonardo.balter@gmail.com>
     2
     3        Test262-Runner: Improve the verbose output
     4        https://bugs.webkit.org/show_bug.cgi?id=185491
     5
     6        Reviewed by Michael Saboff.
     7
     8        * Scripts/test262/Import.pm:
     9        (transferFiles):
     10        * Scripts/test262/Runner.pm:
     11        (processResult):
     12
    1132018-05-09  Leo Balter  <leonardo.balter@gmail.com>
    214
  • trunk/Tools/Scripts/test262/Import.pm

    r230680 r231602  
    160160
    161161    # Copy from source
    162     printAndRun("cp -r $sourceDir\/harness $test262Dir");
    163     printAndRun("cp -r $sourceDir\/test $test262Dir");
     162    printAndRun("mv $sourceDir\/harness $test262Dir");
     163    printAndRun("mv $sourceDir\/test $test262Dir");
    164164}
    165165
  • trunk/Tools/Scripts/test262/Runner.pm

    r231601 r231602  
    647647        my $printfailure = !$expect || $isnewfailure;
    648648
    649         print "! NEW " if $isnewfailure;
    650         print "FAIL $file ($scenario)\n" if $printfailure;
    651649        if ($verbose) {
    652             print $result;
     650            print "! NEW FAIL $file ($scenario)\n$result";
    653651            print "\nFeatures: " . join(', ', @{ $data->{features} }) if $data->{features};
    654652            print "\n\n";
     653        } else {
     654            print "! NEW " if $isnewfailure;
     655            print "FAIL $file ($scenario)\n" if $printfailure;
    655656        }
    656657
Note: See TracChangeset for help on using the changeset viewer.