summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNakshtra Goyal <nakshtra.goyal@intel.com>2024-04-30 13:23:10 +0530
committerJanga Rahul Kumar <janga.rahul.kumar@intel.com>2024-05-03 11:16:36 +0530
commitb6efdf959cb27dbc2686c87e017264a2762206ea (patch)
tree33e4395f9e3cd04a1571fcfb9da1eaacd01a2849
parentadcc68266b8e8a0e6d7d052e8450c86c999a0cd8 (diff)
tests/intel/xe_compute_preempt: Check skip condition from parent process
Check test is supported on a platform or not from parent process and run test once from parent process before creating child processes as skip check is not allowed from child processes Signed-off-by: Nakshtra Goyal <nakshtra.goyal@intel.com> Reviewed-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
-rw-r--r--tests/intel/xe_compute_preempt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/intel/xe_compute_preempt.c b/tests/intel/xe_compute_preempt.c
index 78b19158d..3817b5a30 100644
--- a/tests/intel/xe_compute_preempt.c
+++ b/tests/intel/xe_compute_preempt.c
@@ -63,6 +63,7 @@ igt_main
continue;
igt_dynamic_f("engine-%s", xe_engine_class_string(hwe->engine_class)) {
+ test_compute_preempt(xe, hwe, false);
igt_fork(child, 100)
test_compute_preempt(xe, hwe, false);
igt_waitchildren();