[PATCH dwarves 0/4] tests: unify behaviour, pass through fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux