Re: [PATCH net-next v2] selftests: net: add helper for checking if nettest is available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 20 Aug 2024 08:44:12 -0700 Jakub Kicinski wrote:
> On Tue, 20 Aug 2024 11:18:47 +0800 Hangbin Liu wrote:
> > Excuse me, what's profile used here? I can't find the definition in
> > Documentation/dev-tools/kselftest.rst.  
> 
> Ah, sorry, I added timestamping output as a local patch for NIPA.

To be clear the profile=1 enables the timestamps from my local patch

> Random example:
> 
> TAP version 13
> 1..1
> # overriding timeout to 7200
> # selftests: net: amt.sh
> # 13.15 [+13.15] TEST: amt discovery                                                 [ OK ]
> # 16.27 [+3.12] TEST: IPv4 amt multicast forwarding                                 [ OK ]
> # 19.14 [+2.86] TEST: IPv6 amt multicast forwarding                                 [ OK ]
> # 670.88 [+651.74] TEST: IPv4 amt traffic forwarding torture                           [ OK ]
> # 1203.28 [+532.40] TEST: IPv6 amt traffic forwarding torture                           [ OK ]
> ok 1 selftests: net: amt.sh
> 
> It's not great, makes the lines longer and misaligned.
> But it's helpful for debugging slow tests.





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux