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

Arnaldo Carvalho de Melo
2024-10-01T14:37:57Z

On Tue, Oct 01, 2024 at 12:46:25PM +0100, Alan Maguire wrote:
> 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

Thanks, applied.

- Arnaldo