Re: [PATCH net-next] selftests: forwarding: Import top-level lib.sh through $lib_dir

From
Vladimir Oltean <vladimir.oltean@nxp.com>
Date
2023-12-21 16:58:28
Reply to
Benjamin Poirier, 2023-12-14
On Thu, Dec 14, 2023 at 05:00:31PM -0500, Benjamin Poirier wrote:
Patrice, Vladimir, Martin, how do you run the dsa tests?
Not how they're supposed to, apparently.

I used to rsync the "selftests" folder to the device under test, go
to the drivers/net/dsa directory, and ./ the test from there. That is
absolutely sufficient without all the "make kselftest" / run_kselftest.sh
overhead which I don't need, but apparently that broken now too.

I don't have a strong objection against eliminating the symlinks.
They were just a handy way of filtering those tests from net/forwarding/
which were relevant to DSA, and just ignore the test.

What might turn out to be problematic is DSA's forwarding.config, where
we actually rely on the STABLE_MAC_ADDRS option for some tests to pass.
I'm not actually sure what is the "recommended" way of deploying a
custom forwarding.config file anyway.
Thread (15 messages) 15 messages, 5 authors, last reply 2023-12-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help