mbox series

[0/4] selftests: ktap_helpers: Add some missing helpers

Message ID 20240131-ktap-sh-helpers-extend-v1-0-98ffb468712c@collabora.com (mailing list archive)
Headers show
Series selftests: ktap_helpers: Add some missing helpers | expand

Message

Nícolas F. R. A. Prado Jan. 31, 2024, 10:02 p.m. UTC
This series adds a few missing functions to the shell KTAP helpers
script which are present in the C counterpart, kselftest.h.

This series depends on
"selftests: Move KTAP bash helpers to selftests common folder"
https://lore.kernel.org/all/20240102141528.169947-1-laura.nao@collabora.com/

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
Nícolas F. R. A. Prado (4):
      selftests: ktap_helpers: Add helper to print diagnostic messages
      selftests: ktap_helpers: Add helper to pass/fail test based on exit code
      selftests: ktap_helpers: Add a helper to abort the test
      selftests: ktap_helpers: Add a helper to finish the test

 tools/testing/selftests/kselftest/ktap_helpers.sh | 39 +++++++++++++++++++++--
 1 file changed, 37 insertions(+), 2 deletions(-)
---
base-commit: f1ca07220ad16a9efae7f68e4bade0db89b63a3c
change-id: 20240131-ktap-sh-helpers-extend-805b77ca773c

Best regards,

Comments

Shuah Khan Feb. 20, 2024, 10:59 p.m. UTC | #1
On 1/31/24 15:02, Nícolas F. R. A. Prado wrote:
> This series adds a few missing functions to the shell KTAP helpers
> script which are present in the C counterpart, kselftest.h.
> 
> This series depends on
> "selftests: Move KTAP bash helpers to selftests common folder"
> https://lore.kernel.org/all/20240102141528.169947-1-laura.nao@collabora.com/
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> ---
> Nícolas F. R. A. Prado (4):
>        selftests: ktap_helpers: Add helper to print diagnostic messages
>        selftests: ktap_helpers: Add helper to pass/fail test based on exit code
>        selftests: ktap_helpers: Add a helper to abort the test
>        selftests: ktap_helpers: Add a helper to finish the test
> 
>   tools/testing/selftests/kselftest/ktap_helpers.sh | 39 +++++++++++++++++++++--
>   1 file changed, 37 insertions(+), 2 deletions(-)
> ---
> base-commit: f1ca07220ad16a9efae7f68e4bade0db89b63a3c
> change-id: 20240131-ktap-sh-helpers-extend-805b77ca773c
> 
> Best regards,

Applied to next for Linux 6.9-rc1

thanks,
-- Shuah