[PATCH 0/3] kselftest: make ksft_exit_skip() print output

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

 



If a series of tests are should be skipped (eg. lack of appropriate
hardware), then the reason should be printed as the tests halt.

This patch series makes ksft_exit_skip(), responsible for exiting
from testing due to skipping, output an "optional" reason for skipping.
It also changes the three tests that use the old ksft_exit_skip(),
where no argument was required, to the new one with an output.

Paul Elder (3):
  kselftest: make ksft_exit_skip() output a reason for skipping
  kselftest: membarrier: make test names more informative
  kselftest: make callers of ksft_exit_skip() output the reason for
    skipping

 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c   |  3 +--
 tools/testing/selftests/breakpoints/step_after_suspend_test.c |  4 ++--
 tools/testing/selftests/kselftest.h                           |  7 +++++--
 tools/testing/selftests/membarrier/membarrier_test.c          | 11 +++++------
 4 files changed, 13 insertions(+), 12 deletions(-)

-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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