Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/xe_compute_preempt: Check skip condition from parent process
@ 2024-04-30  7:53 nakshtra.goyal
  2024-04-30  8:40 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: nakshtra.goyal @ 2024-04-30  7:53 UTC (permalink / raw)
  To: igt-dev, ramadevi.gandi, janga.rahul.kumar

From: Nakshtra Goyal <nakshtra.goyal@intel.com>

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>
---
 tests/intel/xe_compute_preempt.c | 1 +
 1 file changed, 1 insertion(+)

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();
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-02  6:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30  7:53 [PATCH i-g-t] tests/intel/xe_compute_preempt: Check skip condition from parent process nakshtra.goyal
2024-04-30  8:40 ` ✓ CI.xeBAT: success for " Patchwork
2024-04-30  8:45 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-04-30  9:40 ` ✗ CI.xeFULL: " Patchwork
2024-05-02  6:54 ` [PATCH i-g-t] " Kumar, Janga Rahul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox