Re: [PATCH net-next] selftest: epoll_busy_poll: epoll busy poll tests

From: Jakub Kicinski
Date: Fri May 03 2024 - 20:25:37 EST


On Fri, 3 May 2024 16:09:45 -0700 Joe Damato wrote:
> > "GEN" is for files which are built for other tests to use.
> > IOW unless there's also a wrapper script under TEST_PROGS
> > (or the C code is itself under TEST_PROGS) this test won't
> > be executed by most CIs.
>
> Ah, I see. OK.
>
> If I decided to go with the kselftest_harness as mentioned below, I'd need
> to include a wrapper script to run the binary with the right cmd line
> arg(s) and put that in TEST_PROGS?

harness or not, the only two real requirements for including in
TEST_PROGS directly is to:
- return non-zero exit code on failure; and
- not require any command line arguments.