[igt-dev] [PATCH i-g-t] tests/gem_ctx_isoation: Add warn for newer gens.
Antonio Argenziano
antonio.argenziano at intel.com
Mon Sep 24 16:39:35 UTC 2018
Ops, sorry wrong button.
Please ignore this.
Sorry,
Antonio
On 24/09/18 09:38, Antonio Argenziano wrote:
> Add a warning to update test if GEN version is not recognized.
>
> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>
> Cc: Chris Wilson <chris at 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);
> }
>
>
More information about the igt-dev
mailing list