Changeset 232343 in webkit


Ignore:
Timestamp:
May 31, 2018 3:20:54 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

test262-runner should run in verbose mode in automation
https://bugs.webkit.org/show_bug.cgi?id=186115

Patch by Leo Balter <Leo Balter> on 2018-05-31
Reviewed by Yusuke Suzuki.

This patch toggles the verbose mode in the build bot and reports every test file
in order to avoid the '1200 seconds without output' issue.

  • BuildSlaveSupport/build.webkit.org-config/steps.py:

(RunTest262Tests):

  • Scripts/test262/Runner.pm:

(processResult):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/steps.py

    r231686 r232343  
    368368    descriptionDone = ["test262-tests"]
    369369    failedTestsFormatString = "%d Test262 test%s failed"
    370     command = ["perl", "./Tools/Scripts/test262-runner", WithProperties("--%(configuration)s")]
     370    command = ["perl", "./Tools/Scripts/test262-runner", "--verbose", WithProperties("--%(configuration)s")]
    371371
    372372    def start(self):
  • trunk/Tools/ChangeLog

    r232333 r232343  
     12018-05-31  Leo Balter  <leonardo.balter@gmail.com>
     2
     3        test262-runner should run in verbose mode in automation
     4        https://bugs.webkit.org/show_bug.cgi?id=186115
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        This patch toggles the verbose mode in the build bot and reports every test file
     9        in order to avoid the '1200 seconds without output' issue.
     10        * BuildSlaveSupport/build.webkit.org-config/steps.py:
     11        (RunTest262Tests):
     12        * Scripts/test262/Runner.pm:
     13        (processResult):
     14
    1152018-05-30  Fujii Hironori  <Hironori.Fujii@sony.com>
    216
  • trunk/Tools/Scripts/test262/Runner.pm

    r232115 r232343  
    684684            my $featuresList = '';
    685685            $featuresList = "\nFeatures: " . join(', ', @{ $data->{features} }) if $data->{features};
    686             $suffixMsg = "$result$featuresList\n\n";
     686            $suffixMsg = "$result$featuresList\n";
    687687        }
    688688
     
    694694        if ($expectedfailure) {
    695695            print "NEW PASS $file ($scenario)\n";
    696             print "\n" if $verbose;
     696        } elsif ($verbose) {
     697            print "PASS $file ($scenario)\n";
    697698        }
    698699
    699700        $resultdata{result} = 'PASS';
    700701    } else {
     702        if ($verbose) {
     703            print "SKIP $file\n";
     704        }
    701705        $resultdata{result} = 'SKIP';
    702706    }
Note: See TracChangeset for help on using the changeset viewer.