Re: [PATCH] selftests: Move KTAP bash helpers to selftests common folder

From: Rob Herring
Date: Mon Jan 22 2024 - 12:17:02 EST


On Tue, Jan 02, 2024 at 03:15:28PM +0100, Laura Nao wrote:
> Move bash helpers for outputting in KTAP format to the common selftests
> folder. This allows kselftests other than the dt one to source the file
> and make use of the helper functions.
> Define pass, fail and skip codes in the same file too.
>
> Signed-off-by: Laura Nao <laura.nao@xxxxxxxxxxxxx>
> ---
> tools/testing/selftests/Makefile | 1 +
> tools/testing/selftests/dt/Makefile | 2 +-
> tools/testing/selftests/dt/test_unprobed_devices.sh | 6 +-----
> tools/testing/selftests/{dt => kselftest}/ktap_helpers.sh | 6 ++++++
> 4 files changed, 9 insertions(+), 6 deletions(-)
> rename tools/testing/selftests/{dt => kselftest}/ktap_helpers.sh (94%)

Acked-by: Rob Herring <robh@xxxxxxxxxx>