[igt-dev] [PATCH i-g-t v24 19/21] tests/api_intel_bb: just fail in BAT
Petri Latvala
petri.latvala at intel.com
Mon Aug 3 09:40:33 UTC 2020
On Mon, Aug 03, 2020 at 10:58:01AM +0200, Zbigniew Kempczyński wrote:
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> ---
> tests/i915/api_intel_bb.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/i915/api_intel_bb.c b/tests/i915/api_intel_bb.c
> index 376021de..45544bb0 100644
> --- a/tests/i915/api_intel_bb.c
> +++ b/tests/i915/api_intel_bb.c
> @@ -1092,6 +1092,9 @@ igt_main_args("dpib", NULL, help_str, opt_handler, NULL)
> igt_subtest("render-ccs")
> render_ccs(bops);
>
> + igt_subtest("fail")
> + igt_assert(0);
> +
Thank you for attempting to save CI's runtime!
However, this won't do what you wish. New tests are suppressed by
default and thus won't contribute to BAT's verdict.
However, you can use igt at meta_test@fail-result to achieve a BAT
failure. That test is vetted to contribute to BAT verdict.
--
Petri Latvala
More information about the igt-dev
mailing list