diff options
| author | Sasha Levin <sashal@kernel.org> | 2026-10-14 16:01:49 -0400 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-11-05 16:40:22 +0100 |
| commit | 62aef2c04e0e69a9b88affa74ff699ce5c4e8652 (patch) | |
| tree | 0652bd3bde8bb3c73e7b39d457ecd3a37826bac9 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 674feba7a0d39eb93e78f9e84bd5ec0c0072baa2 (diff) | |
selftests: drivers/s390x: Select uvdevice tests using the target architecture
The uvdevice Makefile decides whether to build its test from uname -m,
which describes the build host. A cross build for s390 on another host
therefore silently omits the test, while the non-s390 branch provides
no-op build and installation targets but no emit_tests target.
Select the test from the target ARCH when it is given and from the
host's SUBARCH otherwise, accepting both the s390 and s390x spellings,
and include lib.mk unconditionally so that other architectures build,
install and emit an empty runlist. ARCH itself is left unset so that a
native LLVM=1 build keeps using the compiler's native target.
Drop the include path derived from tools/arch/$(ARCH): the test only
needs asm/uvdevice.h from the installed kernel headers, and the path
does not exist for the s390x spelling.
Fixes: cbac924200b8 ("selftests: drivers/s390x: Add uvdevice tests")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
