[Bug 55548] New: kernel32:power - test_GetSystemPowerStatus() fails on macOS
https://bugs.winehq.org/show_bug.cgi?id=55548 Bug ID: 55548 Summary: kernel32:power - test_GetSystemPowerStatus() fails on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com kernel32:power - test_GetSystemPowerStatus() fails on macOS: power.c:34: Test failed: expected TRUE See https://test.winehq.org/data/patterns.html#kernel32:power The failure is systematic and only happens macOS (see Remi's rbernon-macos-* cloud test machines). It looks like the macOS implementation of fill_battery_state() fails, presumably because of permission issues. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55548 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55548 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|kernel32:power - |kernel32:power & ntdll:info |test_GetSystemPowerStatus() |- Getting the battery state |fails on macOS |fails on macOS --- Comment #1 from François Gouget <fgouget(a)codeweavers.com> --- ntdll:info - test_query_battery() fails to get the battery state on macOS: info.c:1603: Test failed: expected success See https://test.winehq.org/data/patterns.html#ntdll:info This failure is systematic and is also specific to the macOS test configurations. The root cause also appears to be identical to the one plaguing kernel32:power. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55548 Brendan Shanks <bshanks(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bshanks(a)codeweavers.com --- Comment #2 from Brendan Shanks <bshanks(a)codeweavers.com> --- Wine is using an old API that no longer works. There's an MR that will hopefully fix this, I'll try to get it into shape: https://gitlab.winehq.org/wine/wine/-/merge_requests/2283 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55548 --- Comment #3 from Brendan Shanks <bshanks(a)codeweavers.com> --- MR2283 was merged (commit f715f400dc44c58035f6cbcb410a4b30d8cce58d), the kernel32 tests are now succeeding. ntdll:info gets farther, but there is still a failure: info.c:1631: Test failed: expected 4294967295 minutes remaining got 0 minutes (this is on an M2 Pro MacBook Pro, connected to power) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla