From 80447fec4ac419efe1e51ebcccc00bebcc5f9874 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Thu, 7 Sep 2017 15:35:27 +0300 Subject: tests/kms_properties: Require atomic for the atomic invalid props test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The invalid props test forgot to check for atomic. Add the required check. Reviewed-by: Chris Wilson Signed-off-by: Ville Syrjälä --- tests/kms_properties.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/kms_properties.c') diff --git a/tests/kms_properties.c b/tests/kms_properties.c index 544a8009..a63b69b4 100644 --- a/tests/kms_properties.c +++ b/tests/kms_properties.c @@ -389,6 +389,9 @@ static void invalid_properties(igt_display_t *display, bool atomic) enum pipe pipe; int i; + if (atomic) + igt_skip_on(!display->is_atomic); + for_each_pipe(display, pipe) test_object_invalid_properties(display, display->pipes[pipe].crtc_id, DRM_MODE_OBJECT_CRTC, atomic); -- cgit v1.2.3