notro / gud

GUD USB Display
153 stars 7 forks source link

gadget: test_properties.py::test_active fails #5

Open notro opened 3 years ago

notro commented 3 years ago

The gadget needs to take the GUD_REQ_SET_DISPLAY_ENABLE state into account when COMMITing state. It needs to set property crtc.ACTIVE=0 in gud_gadget_req_set_state_check() if not enabled.

Failing test: https://github.com/notro/gud/blob/024402ba08a7534768000b78655c6c4b13240cdd/tests/test_properties.py#L18-L39