Re: [PATCH v4 00/31] ARM: Switch to generic entry
From: Dmitry V. Levin <hidden>
Date: 2025-02-20 14:30:42
Also in:
lkml
On Thu, Feb 20, 2025 at 03:04:22PM +0100, Linus Walleij wrote:
On Fri, Feb 14, 2025 at 12:05 PM Dmitry V. Levin [off-list ref] wrote:quoted
quoted
Sure, where can I find this test suite?It's a part of strace, you can find it e.g. at https://github.com/strace/strace To build and run it one can roughly do ./bootstrap && ./configure && make -j`nproc` && make -j`nproc checkmake check produces some test failures on v6.14-rc1 on ARM even before I apply the generic entry: FAIL: filtering_syscall-syntax.test FAIL: qual_fault-syscall.test FAIL: qual_fault.test FAIL: strace--tips-full.test FAIL: strace-r.test
This is surprising, no tests are currently known to fail on arm.
Then there is the fact that I had to add the PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP as stubs returning -EIO (modeled after UM) to use generic entry. Do you think this affects the results?
No, strace doesn't use PTRACE_SYSEMU* and doesn't test it either.
Is there a way to run a single test? I tried to check the docs but nothing obvious to me ... I guess I'm not used to this unit-tester.
Sure, it's a regular automake-based test suite, so you can do something like $ make -s -k check VERBOSE=1 TESTS='filtering_syscall-syntax.test qual_fault-syscall.test qual_fault.test' -- ldv