[PATCH v2 0/7] kselftest framework and test changes to use it

Shuah Khan
2014-09-23T21:32:53Z

This patch v2 series: (revised to address v1 comments)

Add kselftest framework for tests to use. This is a light
weight framework provides a set of interfaces to report test
results and test statistics on number of tests passed and failed.

Several tests are changed to use the framework to report results.

Shuah Khan (7):
selftests: add kselftest framework for uniform test reporting
selftests/breakpoints: change test to use ksft framework
selftests/ipc: change test to use ksft framework
selftests/kcmp: change test to use ksft framework
selftests/mount: change test to use ksft framework
selftests/ptrace: change test to use ksft framework
selftests/timers: change test to use ksft framework

.../selftests/breakpoints/breakpoint_test.c | 10 +++---
tools/testing/selftests/ipc/msgque.c | 26 +++++++-------
tools/testing/selftests/kcmp/kcmp_test.c | 27 ++++++++++----
tools/testing/selftests/kselftest.h | 41 ++++++++++++++++++++++
.../selftests/mount/unprivileged-remount-test.c | 8 +++--
tools/testing/selftests/ptrace/peeksiginfo.c | 14 ++++----
tools/testing/selftests/timers/posix_timers.c | 14 ++++----
7 files changed, 101 insertions(+), 39 deletions(-)
create mode 100644 tools/testing/selftests/kselftest.h

--
1.9.1