tests/gem_ctx_isoation: Add warn for newer gens.
PATCH 1/1 tests/gem_ctx_isoation: Add warn for newer gens.
Add a warning to update test if GEN version is not recognized.
--- tests/gem_ctx_isolation.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
tests/gem_ctx_isolation.c +3 -1
@@ -700,7 +700,9 @@ igt_mainigt_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 ); }
Signature · 6 lines
2.16.2 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Ops, sorry wrong button.
Please ignore this.
Sorry,
Antonio
Quoted 14 lines · Antonio Argenziano
Add a warning to update test if GEN version is not recognized.
Signed-off-by Antonio Argenziano <[email protected]>Cc Chris Wilson <[email protected]>--- tests/gem_ctx_isolation.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tests/gem_ctx_isolation.c +0
-0
tests/gem_ctx_isolation.c igt_main · line 708
Quoted 10 lines
tests/gem_ctx_isolation.c +3
-1@@ -700,7 +700,9 @@ igt_mainigt_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 ); }
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for tests/gem_ctx_isoation: Add warn for newer gens. (rev2)
In reply to Antonio Argenziano== Series Details ==
== Series Details ==
Series: tests/gem_ctx_isoation: Add warn for newer gens. (rev2)
URL : https://patchwork.freedesktop.org/series/49296/
State : failure
== Summary ==
Applying: tests/gem_ctx_isoation: Add warn for newer gens. Using index info to reconstruct a base tree...
M tests/gem_ctx_isolation.c
Falling back to patching base and 3-way merge... Auto-merging tests/gem_ctx_isolation.c
CONFLICT (content): Merge conflict in tests/gem_ctx_isolation.c Patch failed at 0001 tests/gem_ctx_isoation: Add warn for newer gens. Use 'git am --show-current-patch' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev