Re: [PATCH] kunit: show error if kunit results are not present

From: Brendan Higgins
Date: Thu Jun 11 2020 - 17:22:28 EST


On Thu, Jun 11, 2020 at 2:17 PM Uriel Guajardo
<urielguajardojr@xxxxxxxxx> wrote:
>
> From: Uriel Guajardo <urielguajardo@xxxxxxxxxx>
>
> Currently, if the kernel is configured incorrectly or if it crashes before any
> kunit tests are run, kunit finishes without error, reporting
> that 0 test cases were run.
>
> To fix this, an error is shown when the tap header is not found, which
> indicates that kunit was not able to run at all.
>
> Signed-off-by: Uriel Guajardo <urielguajardo@xxxxxxxxxx>

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>