diff options
author | marius vlad <marius.c.vlad@intel.com> | 2016-02-08 19:12:58 +0200 |
---|---|---|
committer | Marius Vlad <marius.c.vlad@intel.com> | 2016-04-20 13:48:04 +0300 |
commit | f8af3565bd9d79c16c48bc017d3698b4c19bed4f (patch) | |
tree | 82431821531551317a64fd8842ab509963cde50b | |
parent | e3e00bae23ce3687f7e465d67318fca54f84f0ab (diff) |
tests/kms_pipe_crc_basic: Don't suspend the machine if the pipe is not present.
suspend-read-crc-pipe will perform a suspend and then skip the test in case the
pipe is not present or is fused w/ another pipe. Skip the test before doing
the suspend.
v2: Somehow the subject was trimmed.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
-rw-r--r-- | tests/kms_pipe_crc_basic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index ee76fd30..4de53bc7 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -222,6 +222,7 @@ igt_main test_read_crc(&data, i, TEST_SEQUENCE | TEST_NONBLOCK); igt_subtest_f("suspend-read-crc-pipe-%c", 'A'+i) { + igt_skip_on(i >= data.display.n_pipes); igt_system_suspend_autoresume(); test_read_crc(&data, i, 0); |