summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-07-23gitlab CI: Update xserver build image to bullseye-slim:2022-07-01HEADmasterAlan Coopersmith1-2/+2
Needed to compile current xserver from git since xorg/xserver!913 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-23gitlab CI: enable gitlab's builtin static analysisAlan Coopersmith1-0/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-23gitlab CI: enable commit & merge request checksAlan Coopersmith1-0/+43
Uses ci-fairy from freedesktop/ci-templates Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-05grab: Update tests for change of touch and async grab interactionPovilas Kanapickas1-4/+8
This test covers https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/866 which fixes https://gitlab.freedesktop.org/xorg/xserver/-/issues/1255. Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2022-02-05common: Detect invalid usage of XITPropertyPovilas Kanapickas1-0/+6
2022-02-05Fix usages of "Device Enabled" property: it's a 8-bit value, not 32-bitPovilas Kanapickas2-2/+2
2022-02-05common: Fix uninitialized variablePovilas Kanapickas1-1/+1
XIGetProperty may not initialize the data argument in case of server returning errors.
2022-02-05grab: Fix deallocation of mask arrayPovilas Kanapickas1-1/+1
2022-02-05gitlab-ci: Install libxcvt needed by newer X serverPovilas Kanapickas1-0/+5
2021-06-01meson: Add missing test dependency on libxiPovilas Kanapickas1-1/+1
2021-06-01gitlab-ci: Setup to build from development libxiPovilas Kanapickas1-3/+13
2021-05-30Implement tests for gesture eventsPovilas Kanapickas4-0/+2455
2021-05-30Implement support for playing of touchpad gesture eventsPovilas Kanapickas4-5/+255
2021-05-30Hide custom configuration that interferes with unshare scriptPovilas Kanapickas2-0/+8
2021-02-15grab: Re-enable DeviceUngrabDropsEmulatedEvents testPovilas Kanapickas1-1/+1
This test been fixed in https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/583.
2021-02-15input: Update test after server fixes for emulated event deliveryPovilas Kanapickas1-6/+9
2021-02-15grab: Test active pointer grab without button events after implicit grabPovilas Kanapickas1-0/+132
2021-02-15grab: Simplify code by reusing CreateWindow helperPovilas Kanapickas1-75/+10
2021-02-08grab: Add tests for a couple active grab scenarios after touch beginsPovilas Kanapickas1-0/+97
2021-02-08Add a XI2 mask builderPovilas Kanapickas2-6/+40
2021-02-08Add a script to run tests in isolated environmentPovilas Kanapickas3-11/+29
2021-02-08README: Document how to run tests in isolated environmentPovilas Kanapickas1-4/+21
2021-02-08README: Use markdown syntax for headingsPovilas Kanapickas1-4/+11
2021-02-08README: Remove no longer relevant sectionPovilas Kanapickas1-35/+0
All tests now use inputtest which does not affect the input devices seen by any already running servers.
2021-02-08Remove no longer relevant testing configuration filesPovilas Kanapickas2-23/+0
2021-02-07misc: Sync DoubleSegfault test to current behavior of XorgPovilas Kanapickas1-3/+5
This commit in xserver 9c72887939f319e185d2726d9d9a4191b9d12efd changed the behavior of crashing server from exit(1) to abort(). Adjust the test accordingly.
2021-02-07misc: Use dummy configuration in DoubleSegfault testPovilas Kanapickas1-1/+3
This avoids dependency on the state of the system. In particular, we don't depend on any available devices.
2021-02-07misc: Properly disable X server termination in DoubleSegfault testPovilas Kanapickas1-5/+1
2021-02-07gtest: Add a way to disable server termination in destructorPovilas Kanapickas2-1/+13
2021-02-07Test case when emulated touch is replayed after a explicit grabPovilas Kanapickas1-0/+68
This covers https://bugs.freedesktop.org/show_bug.cgi?id=96536
2021-01-06Accept list of events as a vector to SelectXI2EventsPovilas Kanapickas5-33/+15
2021-01-06Remove variadic argument overloads of Process::Start()Povilas Kanapickas4-84/+24
2021-01-06grab: Expect motion events before touch-emulated button pressesPovilas Kanapickas1-1/+7
The current server code for event is clear in that emulated motion events are expected before emulated button events. Update tests to match. Note that in the case of pointer grabs, the first motion event is not reported because by that time the press event has not happened yet and the pointer grab is not yet active.
2021-01-06barriers: Assume FIXES 5 is presentPovilas Kanapickas3-11/+0
2021-01-06barriers: Assume XI 2.3 is presentPovilas Kanapickas2-5/+0
2020-12-20Remove no longer used HAVE_CONFIG_HPovilas Kanapickas32-118/+0
2020-12-20common: Fix includes in xit-event.hPovilas Kanapickas1-3/+4
2020-12-20common: Don't ignore non-matching events in testsPovilas Kanapickas1-1/+1
WaitForEventOfType() will skip non-matching events. This may cause tests to be unexpectedly less rigorous than wanted. Let's just force all tests to specify all incoming events so that no changes of behavior are missed.
2020-12-20common: Don't check XPending when waiting for eventsPovilas Kanapickas1-1/+1
This causes WaitForEventOfType to be always called and thus there's a single place to place any ad-hoc debug code when investigating test failures.
2020-12-19gtest: Remove extraneous semicolon from definition of XORG_TESTCASEPovilas Kanapickas1-1/+1
This makes it possible to use XORG_TESTCASE() as a statement. Currently all uses of XORG_TESTCASE() that end with a semicolon result in a "empty statement" warning.
2020-12-19Remove no longer needed Emulate3Buttons optionPovilas Kanapickas1-2/+0
This is only relevant for evdev input driver and we're using inputtest.
2020-12-19Remove no longer needed GrabDevice optionPovilas Kanapickas9-45/+21
This is only relevant for evdev input driver and we're using inputtest.
2020-12-19Use override specifier for overridden functionsPovilas Kanapickas22-73/+73
2020-12-19Remove no longer used recordingsPovilas Kanapickas54-16830/+0
2020-12-19Remove evdev-based test device implementationPovilas Kanapickas15-753/+6
evdev driver is unreliable for testing because with input thread there is race condition between input event submission and the reaction by the X server. The inputtest driver has the required synchronization capabilities.
2020-12-19HACKING: Update for the inputtest backendPovilas Kanapickas1-104/+37
2020-12-19tests: Rewrite general input tests to use inputtest driverPovilas Kanapickas1-504/+345
The current tests for input drivers are unreliable and effectively unfixable, because of the race condition introduced by separate input thread. The inputtest driver has the required synchronization capabilities.
2020-12-17tests: Remove input driver testsPovilas Kanapickas11-6281/+0
libinput is the way forward which has its own testsuite. Thus it does no longer make sense to test other input drivers. For input during other tests we have the inputtest driver. The current tests for input drivers are unreliable and effectively unfixable, because of the race condition introduced by separate input thread. The inputtest driver has the required synchronization capabilities.
2020-12-14README: Remove no longer needed git submodule initializationPovilas Kanapickas1-2/+0
2020-12-14Reimplement touch tests on top of inputtest devicePovilas Kanapickas1-177/+128