public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/gem_ctx_isoation: Add warn for newer gens.
@ 2018-09-24 16:38 Antonio Argenziano
  2018-09-24 16:39 ` Antonio Argenziano
  2018-09-24 16:42 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/gem_ctx_isoation: Add warn for newer gens. (rev2) Patchwork
  0 siblings, 2 replies; 6+ messages in thread
From: Antonio Argenziano @ 2018-09-24 16:38 UTC (permalink / raw)
  To: igt-dev

Add a warning to update test if GEN version is not recognized.

Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gem_ctx_isolation.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/gem_ctx_isolation.c b/tests/gem_ctx_isolation.c
index 4325e1c2..bd07b141 100644
--- a/tests/gem_ctx_isolation.c
+++ b/tests/gem_ctx_isolation.c
@@ -700,7 +700,9 @@ igt_main
 		igt_require(has_context_isolation);
 
 		gen = intel_gen(intel_get_drm_devid(fd));
-		//igt_ci_fail_on(gen > LAST_KNOWN_GEN);
+
+		igt_warn_on_f(gen > LAST_KNOWN_GEN,
+				"GEN not recognized! Test needs to be updated to run.");
 		igt_skip_on(gen > LAST_KNOWN_GEN);
 	}
 
-- 
2.16.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t] tests/gem_ctx_isoation: Add warn for newer gens.
@ 2018-09-06 19:59 Antonio Argenziano
  2018-09-06 20:03 ` Chris Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Antonio Argenziano @ 2018-09-06 19:59 UTC (permalink / raw)
  To: igt-dev

Add a warning to update test if GEN version is not recognized.

Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gem_ctx_isolation.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/gem_ctx_isolation.c b/tests/gem_ctx_isolation.c
index 4325e1c2..bd07b141 100644
--- a/tests/gem_ctx_isolation.c
+++ b/tests/gem_ctx_isolation.c
@@ -700,7 +700,9 @@ igt_main
 		igt_require(has_context_isolation);
 
 		gen = intel_gen(intel_get_drm_devid(fd));
-		//igt_ci_fail_on(gen > LAST_KNOWN_GEN);
+
+		igt_warn_on_f(gen > LAST_KNOWN_GEN,
+				"GEN not recognized! Test needs to be updated to run.");
 		igt_skip_on(gen > LAST_KNOWN_GEN);
 	}
 
-- 
2.16.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2018-09-24 16:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24 16:38 [igt-dev] [PATCH i-g-t] tests/gem_ctx_isoation: Add warn for newer gens Antonio Argenziano
2018-09-24 16:39 ` Antonio Argenziano
2018-09-24 16:42 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/gem_ctx_isoation: Add warn for newer gens. (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2018-09-06 19:59 [igt-dev] [PATCH i-g-t] tests/gem_ctx_isoation: Add warn for newer gens Antonio Argenziano
2018-09-06 20:03 ` Chris Wilson
2018-09-06 20:35   ` Antonio Argenziano

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