Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ad8bd4321d54afb2d37f43f22a0249d00f65f37b
      
https://github.com/WebKit/WebKit/commit/ad8bd4321d54afb2d37f43f22a0249d00f65f37b
  Author: Richard Robinson <[email protected]>
  Date:   2026-03-19 (Thu, 19 Mar 2026)

  Changed paths:
    M Tools/Scripts/webkitpy/api_tests/runner.py

  Log Message:
  -----------
  [API Tests] Filter NSEventConcurrentProcessingEnabled log noise from 
run-api-tests
https://bugs.webkit.org/show_bug.cgi?id=310327
rdar://172974332

Reviewed by Megan Gardner.

Each test run by run-api-tests logs a line like:
  NSEventConcurrentProcessingEnabled=NO

This clutters the output and makes it harder to spot real failures.

There was already a _filter_noisy_output method that strips objc[] messages
from test result buffers, but it only filtered the output passed in task
results -- noisy lines were still printed to the console via _log.error()
calls during test execution.

Added a logging.Filter on the module logger to suppress noisy lines from
console output, and extended _filter_noisy_output to also strip
NSEventConcurrentProcessingEnabled lines from result buffers. Using a
logging filter avoids repeating the check at every _log.error() call site.

* Tools/Scripts/webkitpy/api_tests/runner.py:
(_NoisyOutputFilter):
(_NoisyOutputFilter.filter):
(_Worker._filter_noisy_output):

Canonical link: https://commits.webkit.org/309597@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to