diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2019-04-10 12:58:53 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2019-04-10 17:51:43 +0200 |
commit | 051ee61cd39a4378eded21e42b6c45e6fdc10d97 (patch) | |
tree | d753f1c267f88e1fc6983aa81e420a1287fd49fe /tests/kms_psr2_su.c | |
parent | f83344b1ce87c6e246e1632b3d62f8dc722286f1 (diff) |
tests/kms_flip: Do not request event for flips we expect to fail.
If we unexpectedly pass, we get a cryptic
(kms_flip:935) CRITICAL: Test assertion failure function set_flag, file kms_flip.c:271:
(kms_flip:935) CRITICAL: Failed assertion: !(*v & flag)
(kms_flip:935) CRITICAL: Last errno: 25, Inappropriate ioctl for device
Instead of a more descriptive assertion error, clear the request for
event to fix this.
This will change the error reported in bug #103257.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=103257
[mlankhorst: Replace igt_assert with igt_assert_eq based on ickle's suggestion]
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_psr2_su.c')
0 files changed, 0 insertions, 0 deletions