Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23dcf605d8bcd65fa920f1009c66257e3d8258dc
      
https://github.com/WebKit/WebKit/commit/23dcf605d8bcd65fa920f1009c66257e3d8258dc
  Author: Vitaly Dyachkov <[email protected]>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M Tools/glib/api_test_runner.py

  Log Message:
  -----------
  REGRESSION(322476@main) [WPE] `run-wpe-tests` crashes with `KeyError: 
'LIBGL_ALWAYS_SOFTWARE' `
https://bugs.webkit.org/show_bug.cgi?id=326066

Reviewed by Carlos Alberto Lopez Perez.

322476@main changed `WPEPort.setup_environ_for_server()` to set
`LIBGL_ALWAYS_SOFTWARE` only when the `gl_rendering_backend` option is
`cpu`. That option is defined only by `run-webkit-tests`. Under
`run-wpe-tests` it is `None`, so the variable is never set.
`api_test_runner.py` assumes it is always present on WPE and removes it
for WPE Platform tests with `pop()` and no default. GTK is not affected
because `run-gtk-tests` has no WPE Platform tests.

Add default value to `pop('LIBGL_ALWAYS_SOFTWARE')` to not raise
`KeyError` when it is not set.

* Tools/glib/api_test_runner.py:
(TestRunner._run_test_glib):

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



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

Reply via email to