libei/test
Peter Hutterer 756f74ec73 test: declare the need_frame check as part of the context
Reproducible with something that produces a frame event:

   // queues e.g. pointer motion + frame
   peck_eis_dispatch_until_stable()
   with_server(peck) {
       // process the motion only
   }
   peck_eis_dispatch_until_stable()

The second peck_eis_dispatch_until_stable() triggers an assertion
because we still have the unhandled frame event pending but need_frame
was reset to false.

Keep this as a field in peck so it remembers across invocations.

Part-of: <https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/369>
2025-12-15 05:29:54 +00:00
..
templates test: drop a bunch of unused imports 2023-02-15 08:20:01 +10:00
buildtest.c Purge libreis from the repo 2023-02-09 11:48:28 +10:00
buildtest.cc test: make the c++ build test mirror the c build test 2024-12-02 00:23:14 +00:00
conftest.py test: run pytest with xdist where available 2023-03-03 11:27:01 +10:00
eierpecken.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
eierpecken.h test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
eiproto.py.tmpl test: drop the use of attr 2024-12-10 05:06:49 +00:00
meson.build meson.build: apply consistent indentation 2025-11-06 10:56:01 +10:00
test-ei-device.c test: change peck_new_context to take varargs 2025-07-24 11:07:32 +10:00
test-ei-seat.c ei: add EI_EVENT_SYNC as opaque event to correctly schedule callbacks 2024-12-18 04:30:01 +00:00
test-ei.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
test-eis.c test: declare the need_frame check as part of the context 2025-12-15 05:29:54 +00:00
test-main.c Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
test_oeffis.py test: rename a variable to shut up ruff with default args 2024-12-10 05:06:49 +00:00
test_protocol.py test: fix false fail by actually looking for unbound capability mask 2025-08-05 02:02:38 +03:00
test_scanner.py Reformat for ruff 0.9 2025-02-03 13:17:34 +10:00
unit-tests.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00