All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/4] test_macros: Add TST_EXP_PASS_OR_FAIL()
@ 2026-08-11 15:51 Petr Vorel
  2026-08-11 15:51 ` [LTP] [PATCH v3 1/4] test macros: Fix TST_EXP_FD_OR_FAIL() Petr Vorel
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Petr Vorel @ 2026-08-11 15:51 UTC (permalink / raw)
  To: ltp

Changes v2->v3:
* Remove TST_EXP_FD_OR_FAIL_() and TST_EXP_PASS_OR_FAIL_() (Cyril, Li)
* Actually use TST_EXP_PASS_OR_FAIL() in in few tests

Link to v2:
https://lore.kernel.org/ltp/20260710083337.1185184-1-pvorel@suse.cz/#r
https://patchwork.ozlabs.org/project/ltp/list/?series=513131&state=*

Petr Vorel (4):
  test macros: Fix TST_EXP_FD_OR_FAIL()
  test_macros: Add TST_EXP_PASS_OR_FAIL()
  tree: Use TST_EXP_PASS_OR_FAIL() and TST_EXP_FD_OR_FAIL()
  test_macros*.c: Simplify with macros macros

 include/tst_test_macros.h                     |  62 +++++++--
 lib/newlib_tests/test_macros01.c              |  57 +++++---
 lib/newlib_tests/test_macros03.c              |  42 +++---
 lib/newlib_tests/test_macros04.c              |  58 --------
 lib/newlib_tests/test_macros06.c              |  32 +++--
 testcases/kernel/syscalls/access/access01.c   |   9 +-
 .../kernel/syscalls/arch_prctl/arch_prctl01.c |   9 +-
 testcases/kernel/syscalls/bind/bind01.c       |   9 +-
 .../kernel/syscalls/epoll_ctl/epoll_ctl06.c   |  12 +-
 .../syscalls/finit_module/finit_module01.c    |   7 +-
 .../syscalls/init_module/init_module01.c      |   7 +-
 .../kernel/syscalls/landlock/landlock08.c     |  18 +--
 .../kernel/syscalls/landlock/landlock09.c     |  10 +-
 .../kernel/syscalls/landlock/landlock10.c     |   8 +-
 .../syscalls/landlock/landlock_tester.h       | 129 ++++++------------
 15 files changed, 195 insertions(+), 274 deletions(-)
 delete mode 100644 lib/newlib_tests/test_macros04.c

-- 
2.55.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-11 16:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11 15:51 [LTP] [PATCH v3 0/4] test_macros: Add TST_EXP_PASS_OR_FAIL() Petr Vorel
2026-08-11 15:51 ` [LTP] [PATCH v3 1/4] test macros: Fix TST_EXP_FD_OR_FAIL() Petr Vorel
2026-08-11 16:05   ` [LTP] " linuxtestproject.agent
2026-08-11 15:52 ` [LTP] [PATCH v3 2/4] test_macros: Add TST_EXP_PASS_OR_FAIL() Petr Vorel
2026-08-11 15:52 ` [LTP] [PATCH v3 3/4] tree: Use TST_EXP_PASS_OR_FAIL() and TST_EXP_FD_OR_FAIL() Petr Vorel
2026-08-11 15:52 ` [LTP] [PATCH v3 4/4] test_macros*.c: Simplify with macros macros Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.