Thread (37 messages) 37 messages, 2 authors, 2025-02-20

Re: [PATCH v4 00/31] ARM: Switch to generic entry

From: Linus Walleij <hidden>
Date: 2025-02-20 14:04:36
Also in: lkml

On Fri, Feb 14, 2025 at 12:05 PM Dmitry V. Levin [off-list ref] wrote:
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 check
make 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
============================================================================
Testsuite summary for strace 6.13.0.27.bbda4
============================================================================
# TOTAL: 1409
# PASS:  1106
# SKIP:  298
# XFAIL: 0
# FAIL:  5
# XPASS: 0
# ERROR: 0
============================================================================

But I create more fails after my patch set ...
Some have to do with fast syscall restart (I need to look into this).

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?

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.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help