All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH dwarves 0/4] tests: unify behaviour, pass through fail
@ 2024-10-01 11:46 Alan Maguire
  2024-10-01 11:46 ` [PATCH dwarves 1/4] tests/reproducible_builds: support envvar-specified vmlinux Alan Maguire
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alan Maguire @ 2024-10-01 11:46 UTC (permalink / raw)
  To: acme; +Cc: dwarves, Alan Maguire

The "tests" script has recently been added to support running tests;
unify behaviour across all tests to

1. return 2 for cases where the test has to be skipped (versus 1
   for an actual failure)
2. for tests that require vmlinux, allow it to be speficied via
   environment variable; this allows the tests script to be run
   with a specific vmlinux not discoverable via pahole

Patches 1-3 handle updating individual tests; patch 4 ensures that
if we hit a failure, the tests script will return 1 to indicate
that a test failed.

Alan Maguire (4):
  tests/reproducible_builds: support envvar-specified vmlinux
  tests/btf_functions: return 2 to indicate test had to be skipped
  tests/reproducible_build: return 2 (skipped) if no vmlinux available
  tests: distinguish between failed/skipped tests

 tests/btf_functions.sh      |  4 ++--
 tests/reproducible_build.sh |  6 +++---
 tests/tests                 | 13 +++++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

-- 
2.43.5


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

end of thread, other threads:[~2024-10-01 14:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-01 11:46 [PATCH dwarves 0/4] tests: unify behaviour, pass through fail Alan Maguire
2024-10-01 11:46 ` [PATCH dwarves 1/4] tests/reproducible_builds: support envvar-specified vmlinux Alan Maguire
2024-10-01 11:46 ` [PATCH dwarves 2/4] tests/btf_functions: return 2 to indicate test had to be skipped Alan Maguire
2024-10-01 11:46 ` [PATCH dwarves 3/4] tests/reproducible_build: return 2 (skipped) if no vmlinux available Alan Maguire
2024-10-01 11:46 ` [PATCH dwarves 4/4] tests: distinguish between failed/skipped tests Alan Maguire
2024-10-01 14:37 ` [PATCH dwarves 0/4] tests: unify behaviour, pass through fail Arnaldo Carvalho de Melo

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.