public inbox for linux-perf-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/7] Introduce structure for shell tests
@ 2026-04-16 11:14 Jakub Brnak
  2026-04-16 11:14 ` [PATCH v7 1/7] perf tests: Create a " Jakub Brnak
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Jakub Brnak @ 2026-04-16 11:14 UTC (permalink / raw)
  To: acme, acme, linux-perf-users; +Cc: namhyung, irogers, mpetlan

Hi,

Sending the next revision addressing review feedback from Ian and
Namhyung on v6.

Thanks,
Jakub

Link to v6: https://lore.kernel.org/linux-perf-users/20260309155728.98026-1-jbrnak@redhat.com/

Changes since v6:

Patch 1: fixed fd leaks and missing error checks, added documentation
for the shell test infrastructure (requested by Namhyung)

Patch 2: fixed race condition by marking setup suites exclusive, added
NULL fallback for setup.sh description, fixed indentation

Patch 4: replaced VLA with calloc, fixed delete_file to not abort
nftw on failure, added comment about intentional log retention on error

Patch 5: fixed premature loop termination on dots in test name

Jakub Brnak (7):
  perf tests: Create a structure for shell tests
  perf test: Provide setup for the shell test suite
  perf test: Add empty setup for base_probe
  perf test: Introduce storing logs for shell tests
  perf test: Format log directories for shell tests
  perf test: Remove perftool drivers
  perf test: Fix relative path for 'stderr-whitelist.txt'

 tools/perf/tests/builtin-test.c               | 175 ++++++++-
 tools/perf/tests/shell/base_probe/setup.sh    |  13 +
 .../tests/shell/base_report/test_basic.sh     |   6 +-
 .../tests/shell/perftool-testsuite_probe.sh   |  24 --
 .../tests/shell/perftool-testsuite_report.sh  |  23 --
 tools/perf/tests/tests-scripts.c              | 359 +++++++++++++++---
 tools/perf/tests/tests-scripts.h              |  17 +
 tools/perf/tests/tests.h                      |   8 +-
 8 files changed, 513 insertions(+), 112 deletions(-)
 create mode 100755 tools/perf/tests/shell/base_probe/setup.sh
 delete mode 100755 tools/perf/tests/shell/perftool-testsuite_probe.sh
 delete mode 100755 tools/perf/tests/shell/perftool-testsuite_report.sh

-- 
2.52.0


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

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

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-16 11:14 [PATCH v7 0/7] Introduce structure for shell tests Jakub Brnak
2026-04-16 11:14 ` [PATCH v7 1/7] perf tests: Create a " Jakub Brnak
2026-04-16 11:38   ` sashiko-bot
2026-04-16 11:14 ` [PATCH v7 2/7] perf test: Provide setup for the shell test suite Jakub Brnak
2026-04-16 12:07   ` sashiko-bot
2026-04-16 11:14 ` [PATCH v7 3/7] perf test: Add empty setup for base_probe Jakub Brnak
2026-04-16 11:14 ` [PATCH v7 4/7] perf test: Introduce storing logs for shell tests Jakub Brnak
2026-04-16 18:30   ` sashiko-bot
2026-04-16 11:14 ` [PATCH v7 5/7] perf test: Format log directories " Jakub Brnak
2026-04-16 18:56   ` sashiko-bot
2026-04-16 11:14 ` [PATCH v7 6/7] perf test: Remove perftool drivers Jakub Brnak
2026-04-16 19:08   ` sashiko-bot
2026-04-16 11:14 ` [PATCH v7 7/7] perf test: Fix relative path for 'stderr-whitelist.txt' Jakub Brnak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox