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:
parent
d0b0137a95
commit
9f3b64f3e6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue