⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 252781 in webkit


Ignore:
Timestamp:
Nov 22, 2019, 10:25:55 AM (7 years ago)
Author:
Jonathan Bedard
Message:

run-javascriptcore-tests: Hide the output of binaries behind --verbose
https://bugs.webkit.org/show_bug.cgi?id=204386

Reviewed by Aakash Jain.

  • Scripts/run-javascriptcore-tests:

(runTest): Do not log binary output by default, always log test failures.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r252780 r252781  
     12019-11-22  Jonathan Bedard  <jbedard@apple.com>
     2
     3        run-javascriptcore-tests: Hide the output of binaries behind --verbose
     4        https://bugs.webkit.org/show_bug.cgi?id=204386
     5
     6        Reviewed by Aakash Jain.
     7
     8        * Scripts/run-javascriptcore-tests:
     9        (runTest): Do not log binary output by default, always log test failures.
     10
    1112019-11-22  Aakash Jain  <aakash_jain@apple.com>
    212
  • trunk/Tools/Scripts/run-javascriptcore-tests

    r252773 r252781  
    526526    while ( my $line = <TEST> ) {
    527527        my $subTestName;
    528         print $line;
     528        print $line if ($verbose);
    529529
    530530        # e.g.: 'O2: testRotRWithImmShift(uint64-max, uint32-min): OK!''
     
    589589
    590590        if (!defined $reportData{$subTestName}) {
    591             print("$subTestName $failureFlag\n") if $failureFlag;
     591            print "$subTestName failed\n" if ($failureFlag && !$verbose);
    592592            $reportData{$subTestName} = $failureFlag ? {actual => "FAIL"} : {actual => "PASS"};
    593593        }
Note: See TracChangeset for help on using the changeset viewer.