[igt-dev] [PATCH i-g-t v2 4/7] tests: remove igt_skip_on_simulation()

Swati Sharma swati2.sharma at intel.com
Mon Dec 2 06:01:29 UTC 2019


Removing igt_skip_on_simulation() from tests since
this feature is not supported anymore.

v2: Rebase

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
Signed-off-by: Karthik B S <karthik.b.s at intel.com>
Reviewed-by: Martin Peres <martin.peres at linux.intel.com>
---
 tests/debugfs_test.c   | 2 --
 tests/perf.c           | 2 --
 tests/prime_busy.c     | 1 -
 tests/prime_mmap_kms.c | 2 --
 tests/prime_udl.c      | 2 --
 tests/testdisplay.c    | 1 -
 tests/tools_test.c     | 2 --
 7 files changed, 12 deletions(-)

diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c
index 2d4753df..73b82eda 100644
--- a/tests/debugfs_test.c
+++ b/tests/debugfs_test.c
@@ -151,8 +151,6 @@ igt_main
 {
 	int fd = -1, debugfs, sysfs;
 
-	igt_skip_on_simulation();
-
 	igt_fixture {
 		fd = drm_open_driver_master(DRIVER_INTEL);
 		igt_require_gem(fd);
diff --git a/tests/perf.c b/tests/perf.c
index 5ad8b2db..e4eb8378 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -4066,8 +4066,6 @@ test_sysctl_defaults(void)
 
 igt_main
 {
-	igt_skip_on_simulation();
-
 	igt_fixture {
 		struct stat sb;
 
diff --git a/tests/prime_busy.c b/tests/prime_busy.c
index bb29216e..1e94805e 100644
--- a/tests/prime_busy.c
+++ b/tests/prime_busy.c
@@ -204,7 +204,6 @@ static void test_engine_mode(int fd,
 			}
 			else
 			{
-				igt_skip_on_simulation();
 				hang = igt_allow_hang(fd, 0, 0);
 			}
 		}
diff --git a/tests/prime_mmap_kms.c b/tests/prime_mmap_kms.c
index 1c963e01..29aec499 100644
--- a/tests/prime_mmap_kms.c
+++ b/tests/prime_mmap_kms.c
@@ -239,8 +239,6 @@ igt_main
 {
 	gpu_process_t gpu;
 
-	igt_skip_on_simulation();
-
 	igt_fixture {
 		gpu.drm_fd = drm_open_driver_master(DRIVER_INTEL);
 		igt_skip_on((check_for_dma_buf_mmap(gpu.drm_fd) != 0));
diff --git a/tests/prime_udl.c b/tests/prime_udl.c
index 59f478f7..9b600659 100644
--- a/tests/prime_udl.c
+++ b/tests/prime_udl.c
@@ -147,8 +147,6 @@ out:
 
 igt_simple_main
 {
-	igt_skip_on_simulation();
-
 	igt_assert(find_and_open_devices() >= 0);
 
 	igt_skip_on(udl_fd == -1);
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 2fdc0236..858af7ca 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -696,7 +696,6 @@ igt_simple_main_args(optstr, long_opts, help_str, opt_handler, NULL)
 	int ret = 0;
 	GIOChannel *stdinchannel;
 	GMainLoop *mainloop;
-	igt_skip_on_simulation();
 
 	enter_exec_path();
 
diff --git a/tests/tools_test.c b/tests/tools_test.c
index 08b5626f..237f0433 100644
--- a/tests/tools_test.c
+++ b/tests/tools_test.c
@@ -94,8 +94,6 @@ static bool chdir_to_tools_dir(void)
 
 igt_main
 {
-	igt_skip_on_simulation();
-
 	igt_fixture {
 		char *path;
 
-- 
2.23.0



More information about the igt-dev mailing list