RESOLVED FIXED300535
[WPE] WPE Platform: Unset WPE_DRM_DEVICE for Tests using WPEMockPlatformTest
https://bugs.webkit.org/show_bug.cgi?id=300535
Summary [WPE] WPE Platform: Unset WPE_DRM_DEVICE for Tests using WPEMockPlatformTest
Lauro Moura
Reported 2025-10-10 17:21:00 PDT
If we set WPE_DRM_DEVICE, the test Display/drm-nodes fails, as `wpe_display_get_drm_device` first checks for this variable before asking for the actual platform implementation (see bug300527) ERROR:/home/lauro/wkdev-shared/dev/wk-gtk/WebKit-GTK/Tools/TestWebKitAPI/Tests/WPEPlatform/TestDisplay.cpp:80:void TestWebKitAPI::testDisplayDRMNodes(WPEMockPlatformTest*, gconstpointer): 'wpe_display_get_drm_device(test->display())' should be nullptr Ideally, as this is a mocked platform, we should not let WPE_DRM_DEVICE get in the way.
Attachments
Lauro Moura
Comment 1 2025-10-10 20:14:42 PDT
EWS
Comment 2 2025-10-12 21:47:12 PDT
Committed 301390@main (6339f3f43057): <https://commits.webkit.org/301390@main> Reviewed commits have been landed. Closing PR #52160 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.