[igt-dev] [CI 1/1] DO_NOT_MERGE: make all tests non-blocking for ci testing

Harish Chegondi harish.chegondi at intel.com
Thu Apr 11 05:00:48 UTC 2019


This commit is only intended to run ci tests on BYT

Signed-off-by: Harish Chegondi <harish.chegondi at intel.com>
---
 tests/kms_pipe_crc_basic.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 36ce624e..25b9e398 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -177,10 +177,10 @@ igt_main
 
 	for_each_pipe_static(pipe) {
 		igt_subtest_f("read-crc-pipe-%s", kmstest_pipe_name(pipe))
-			test_read_crc(&data, pipe, 0);
+			test_read_crc(&data, pipe, TEST_NONBLOCK);
 
 		igt_subtest_f("read-crc-pipe-%s-frame-sequence", kmstest_pipe_name(pipe))
-			test_read_crc(&data, pipe, TEST_SEQUENCE);
+			test_read_crc(&data, pipe, TEST_SEQUENCE | TEST_NONBLOCK);
 
 		igt_subtest_f("nonblocking-crc-pipe-%s", kmstest_pipe_name(pipe))
 			test_read_crc(&data, pipe, TEST_NONBLOCK);
@@ -191,22 +191,22 @@ igt_main
 		igt_subtest_f("suspend-read-crc-pipe-%s", kmstest_pipe_name(pipe)) {
 			igt_skip_on(pipe >= data.display.n_pipes);
 
-			test_read_crc(&data, pipe, 0);
+			test_read_crc(&data, pipe, TEST_NONBLOCK);
 
 			igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
 						      SUSPEND_TEST_NONE);
 
-			test_read_crc(&data, pipe, 0);
+			test_read_crc(&data, pipe, TEST_NONBLOCK);
 		}
 
 		igt_subtest_f("hang-read-crc-pipe-%s", kmstest_pipe_name(pipe)) {
 			igt_hang_t hang = igt_allow_hang(data.drm_fd, 0, 0);
 
-			test_read_crc(&data, pipe, 0);
+			test_read_crc(&data, pipe, TEST_NONBLOCK);
 
 			igt_force_gpu_reset(data.drm_fd);
 
-			test_read_crc(&data, pipe, 0);
+			test_read_crc(&data, pipe, TEST_NONBLOCK);
 
 			igt_disallow_hang(data.drm_fd, hang);
 		}
-- 
2.20.1



More information about the igt-dev mailing list