mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
test: speed up the XISelectEvents test
It's fine to test up to 1000 masks but we don't need to test every single value. Let's increase by a "random" increment to make this test pass faster.
This commit is contained in:
@@ -172,7 +172,7 @@ request_XISelectEvents_masks(xXISelectEventsReq * req)
|
||||
req->win = ROOT_WINDOW_ID;
|
||||
|
||||
/* if a clients submits more than 100 masks, consider it insane and untested */
|
||||
for (i = 1; i <= 1000; i++) {
|
||||
for (i = 1; i <= 1000; i += 33) {
|
||||
req->num_masks = i;
|
||||
mask->deviceid = XIAllDevices;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user