Re: [PATCH v3] memfd_test: Make it work on 32-bit systems

2014-09-03 Thread Shuah Khan
...@gmail.com Reviewed-by: David Herrmann dh.herrm...@gmail.com --- I will queue this up for 3.17-fixes. I am in the process of setting up kselftest git for fixes. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217

[PATCH] selftests/memfd: fix mfd_fail_open() to pass in buf to printf

2014-09-04 Thread Shuah Khan
the problem. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/memfd/memfd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/memfd/memfd_test.c b/tools/testing/selftests/memfd/memfd_test.c index cb5001b..0b9eafb 100644

Re: Request to add linux-kselftest to linux-next

2014-09-08 Thread Shuah Khan
On 09/08/2014 04:58 PM, Stephen Rothwell wrote: Hi Shuah, On Mon, 08 Sep 2014 08:52:45 -0600 Shuah Khan shua...@osg.samsung.com wrote: Could you please add linux-kselftest tree to linux-next. I plan to maintain two branches: linux-kselftest for Kselftest Framework fixes - Contains

[PATCH 6/7] selftests/ptrace: change ptrace test to use kselftest exit codes

2014-09-15 Thread Shuah Khan
Change ptrace test to use kselftest exit codes in kselftest.h to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/ptrace/peeksiginfo.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/tools/testing

[PATCH 5/7] selftests/mount: change mount test to use kselftest exit codes

2014-09-15 Thread Shuah Khan
Change mount test to use kselftest exit codes in kselftest.h to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/mount/unprivileged-remount-test.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/testing

[PATCH 3/7] selftests/ipc: change ipc test to use kselftest exit codes

2014-09-15 Thread Shuah Khan
Change ipc test to use kselftest exit codes in kselftest.h to report test results. With this change this test exits with EXIT_FAIL instead of -errno. Changed print errno in test fail messages to not loose that information. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH 2/7] selftests/breakpoints: change breakpoints test to use kselftest exit codes

2014-09-15 Thread Shuah Khan
Change breakpoints test to use kselftest exit codes in kselftest.h to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/breakpoints/breakpoint_test.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/testing

[PATCH 4/7] selftests/kcmp: change kcmp test to use kselftest exit codes

2014-09-15 Thread Shuah Khan
Change kcmp test to use kselftest exit codes in kselftest.h to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/kcmp/kcmp_test.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tools/testing/selftests/kcmp

[PATCH 1/7] selftests: add header file for test exit code defines

2014-09-15 Thread Shuah Khan
Add a new header file that defines exit codes for individual tests to use to communicate test results. These defines are intended to provide a common and uniform way for selftests to report results. pass/fail/xfail/xpass/skip/unsupported are defined. Signed-off-by: Shuah Khan shua

[PATCH 0/7] kselftest new exit codes and test changes to use them

2014-09-15 Thread Shuah Khan
This patch series adds a new header file for kselftest defines for individual tests to report test results, and changes to several tests to use the new header file and exit codes. Shuah Khan (7): selftests: add header file for test exit code defines selftests/breakpoints: change breakpoints

[PATCH 7/7] selftests/timers: change timers test to use kselftest exit codes

2014-09-15 Thread Shuah Khan
Change timers test to use kselftest exit codes in kselftest.h to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/timers/posix_timers.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/tools/testing

Re: [PATCH 1/7] selftests: add header file for test exit code defines

2014-09-16 Thread Shuah Khan
On 09/16/2014 10:04 AM, Davidlohr Bueso wrote: On Mon, 2014-09-15 at 16:33 -0600, Shuah Khan wrote: Add a new header file that defines exit codes for individual tests to use to communicate test results. These defines are intended to provide a common and uniform way for selftests to report

Re: [PATCH 1/7] selftests: add header file for test exit code defines

2014-09-16 Thread Shuah Khan
On 09/16/2014 11:40 AM, Andy Lutomirski wrote: On Tue, Sep 16, 2014 at 10:31 AM, Shuah Khan shua...@osg.samsung.com wrote: I think we will want a framework in the tree, but it can be very minimal. But I also think that using exit(2) for this is wrong. Why not: enum ktest_result

Re: [PATCH] selftests/memfd: Run test on all architectures

2014-09-17 Thread Shuah Khan
) return syscall(__NR_memfd_create, name, flags); ^ memfd_test.c:26:17: note: each undeclared identifier is reported only once for each function it appears in Could you please look into this?? It appears __NR_memfd_create isn't defined on x86_64??? thanks, -- Shuah -- Shuah Khan

Re: [PATCH] selftests/memfd: Run test on all architectures

2014-09-17 Thread Shuah Khan
On 09/17/2014 09:39 AM, David Herrmann wrote: Hi On Wed, Sep 17, 2014 at 5:36 PM, Shuah Khan shua...@osg.samsung.com wrote: On 09/17/2014 06:28 AM, David Herrmann wrote: Hi On Tue, Sep 16, 2014 at 12:59 AM, Pranith Kumar bobby.pr...@gmail.com wrote: Remove the dependence on x86 to run

Re: [PATCH 1/3] tools: add .gitignore entries for selftests

2014-09-23 Thread Shuah Khan
On 09/23/2014 01:05 PM, Peter Feiner wrote: Signed-off-by: Peter Feiner pfei...@google.com --- Please add a change log describing what this does and why it is needed. I know what you trying to fix, and that is a good one, but would like a log with the patch. thanks, -- Shuah -- Shuah Khan

Re: [PATCH 2/3] tools: fix warning in memfd_test

2014-09-23 Thread Shuah Khan
. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 3/3] tools: parallel selftests building running

2014-09-23 Thread Shuah Khan
. Could you please split this into two patches. One for parallel builds and the second for adding missing clean targets. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send

[PATCH v2 1/7] selftests: add kselftest framework for uniform test reporting

2014-09-23 Thread Shuah Khan
includes interfaces to use to report test statistics on number of tests passed and failed. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/kselftest.h | 41 + 1 file changed, 41 insertions(+) create mode 100644 tools/testing

[PATCH v2 6/7] selftests/ptrace: change test to use ksft framework

2014-09-23 Thread Shuah Khan
Change ptrace test to use kselftest framework to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/ptrace/peeksiginfo.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/testing/selftests/ptrace/peeksiginfo.c

[PATCH v2 5/7] selftests/mount: change test to use ksft framework

2014-09-23 Thread Shuah Khan
Change mount test to use kselftest framework to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/mount/unprivileged-remount-test.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/mount

[PATCH v2 4/7] selftests/kcmp: change test to use ksft framework

2014-09-23 Thread Shuah Khan
Change kcmp test to use kselftest framework to report test results and test statistics. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/kcmp/kcmp_test.c | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/tools/testing

[PATCH v2 2/7] selftests/breakpoints: change test to use ksft framework

2014-09-23 Thread Shuah Khan
Change breakpoints test to use kselftest framework to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/breakpoints/breakpoint_test.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests

Re: [PATCH v2 5/7] selftests/mount: change test to use ksft framework

2014-09-23 Thread Shuah Khan
On 09/23/2014 04:41 PM, Eric W. Biederman wrote: Shuah Khan shua...@osg.samsung.com writes: Change mount test to use kselftest framework to report test results. Nacked-by: Eric W. Biederman ebied...@xmission.com I am curious did you even run these tests? I can't possibly see how

Re: [PATCH v2 5/7] selftests/mount: change test to use ksft framework

2014-09-23 Thread Shuah Khan
On 09/23/2014 05:07 PM, Eric W. Biederman wrote: Shuah Khan shua...@osg.samsung.com writes: On 09/23/2014 04:41 PM, Eric W. Biederman wrote: Shuah Khan shua...@osg.samsung.com writes: Change mount test to use kselftest framework to report test results. Nacked-by: Eric W. Biederman ebied

Re: [PATCH v2 2/3] tools: adding clean target to user selftest

2014-09-24 Thread Shuah Khan
your Signed-off -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH v3 2/5] selftests/breakpoints: change test to use ksft framework

2014-10-03 Thread Shuah Khan
Change breakpoints test to use kselftest framework to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/breakpoints/breakpoint_test.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests

[PATCH v3 1/5] selftests: add kselftest framework for uniform test reporting

2014-10-03 Thread Shuah Khan
includes interfaces to use to report test statistics on number of tests passed and failed. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/kselftest.h | 62 + 1 file changed, 62 insertions(+) create mode 100644 tools/testing

[PATCH v3 5/5] selftests/timers: change test to use ksft framework

2014-10-03 Thread Shuah Khan
Change timers test to use kselftest framework to report test results. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/timers/posix_timers.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/testing/selftests/timers

[PATCH v3 3/5] selftests/ipc: change test to use ksft framework

2014-10-03 Thread Shuah Khan
Change ipc test to use kselftest framework to report test results. With this change this test exits with EXIT_FAIL instead of -errno. Changed print errno in test fail messages to not loose that information. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/ipc

[PATCH v3 0/5] kselftest framework and test changes to use it

2014-10-03 Thread Shuah Khan
are changed to use the framework to report results. Shuah Khan (5): 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

Re: [PATCH v3 3/5] selftests/ipc: change test to use ksft framework

2014-10-03 Thread Shuah Khan
On 10/03/2014 11:39 AM, Davidlohr Bueso wrote: On Fri, 2014-10-03 at 09:36 -0600, Shuah Khan wrote: msgque.key = ftok(argv[0], 822155650); if (msgque.key == -1) { -printf(Can't make key\n); -return -errno; +printf(Can't make key: %d\n, -errno

[GIT PULL] kselftest 3.18-updates-1

2014-10-06 Thread Shuah Khan
++ 2 files changed, 17 insertions(+), 40 deletions(-) -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord

[GIT PULL] kselftest 3.18-updates-2

2014-10-14 Thread Shuah Khan
) 3.18 Kselftest updates-2: This update adds a light weight kselftest framework that provides a set of interfaces for tests to use to report results. In addition, several tests are updated to use the framework. Shuah Khan (5

rt-tester - move under selftests

2014-10-21 Thread Shuah Khan
you like see it moved under the kselftest umbrella? thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord

system size test

2014-10-21 Thread Shuah Khan
Hi Tim, You mentioned you have a size test you would like to send it for inclusion under selftest? Are you still planning to do that? thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-10-23 Thread Shuah Khan
is extending the support to other archs. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord...@vger.kernel.org

[PATCH 14/20] selftests/mqueue: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/mqueue/Makefile | 8 1 file changed, 8 insertions

[PATCH 11/20] selftests/memfd: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/memfd/Makefile | 10 ++ 1 file changed, 10

[PATCH 02/20] selftests/net: move test out of Makefile into a shell script

2014-11-04 Thread Shuah Khan
Currently bpf test run from the Makefile. Move it out of the Makefile to be run from a shell script to allow the test to be run as stand-alone test, in addition to allowing the test run from a make target. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/net/Makefile

[PATCH 03/20] kbuild: kselftest_install - add a new make target to install selftests

2014-11-04 Thread Shuah Khan
to run test Signed-off-by: Shuah Khan shua...@osg.samsung.com --- Makefile | 17 + 1 file changed, 17 insertions(+) diff --git a/Makefile b/Makefile index 05d67af..291aff7 100644 --- a/Makefile +++ b/Makefile @@ -1078,6 +1078,20 @@ kselftest: $(Q)$(MAKE) -C tools/testing

[PATCH 18/20] selftests/timers: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/timers/Makefile | 7 +++ 1 file changed, 7 insertions

[PATCH 16/20] selftests/ptrace: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/ptrace/Makefile | 11 +-- 1 file changed, 9

[PATCH 13/20] selftests/mount: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/mount/Makefile | 7 +++ 1 file changed, 7 insertions

[PATCH 09/20] selftests/ipc: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/ipc/Makefile | 11 +++ 1 file changed, 11 insertions

[PATCH 01/20] selftests/user: move test out of Makefile into a shell script

2014-11-04 Thread Shuah Khan
Currently user copy test is run from the Makefile. Move it out of the Makefile to be run from a shell script to allow the test to be run as stand-alone test, in addition to allowing the test run from a make target. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH 05/20] selftests/breakpoints: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/breakpoints/Makefile | 12 1 file changed, 12

[PATCH 15/20] selftests/net: add install target to enable installing test

2014-11-04 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/net/Makefile | 10 ++ 1 file changed, 10 insertions

[PATCH] selftests/net: psock_fanout seg faults in sock_fanout_read_ring()

2014-11-11 Thread Shuah Khan
or make run_tests from tools/testing/selftests or make run_test from tools/testing/selftests/net Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/net/psock_fanout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing

[PATCH v2 06/19] selftests/efivarfs: add install target to enable installing test

2014-11-11 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level source dir. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH v2 11/19] selftests/memory-hotplug: add install target to enable installing test

2014-11-11 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level source dir. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH v2 14/19] selftests/net: add install target to enable installing test

2014-11-11 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level source dir. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH v2 04/19] selftests/breakpoints: add install target to enable installing test

2014-11-11 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level source dir. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH v2 10/19] selftests/memfd: add install target to enable installing test

2014-11-11 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level source dir. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH v2 03/19] selftests: add install target to enable installing selftests

2014-11-11 Thread Shuah Khan
/testing/selftests/breakpoints Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/Makefile | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 45f145c

[PATCH v2 12/19] selftests/mount: add install target to enable installing test

2014-11-11 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level source dir. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH v2 08/19] selftests/ipc: add install target to enable installing test

2014-11-11 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level source dir. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

[PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-11-11 Thread Shuah Khan
/breakpoints Signed-off-by: Shuah Khan shua...@osg.samsung.com --- Makefile | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 05d67af..ccbd2e1 100644 --- a/Makefile +++ b/Makefile @@ -1071,12 +1071,26 @@ headers_check

[PATCH v2 00/19] kselftest install target feature

2014-11-11 Thread Shuah Khan
tools/testing/selftests TARGETS=target run_tests Ability specify targets: e.g TARGETS=net -- make run_tests from tools/testing/selftests -- make run_tests from individual test directories: e.g: make run_tests in tools/testing/selftests/breakpoints Shuah Khan (19): selftests/user: move test

[PATCH v2 01/19] selftests/user: move test out of Makefile into a shell script

2014-11-11 Thread Shuah Khan
Currently user copy test is run from the Makefile. Move it out of the Makefile to be run from a shell script to allow the test to be run as stand-alone test, in addition to allowing the test run from a make target. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests

Re: [PATCH v2 07/19] selftests/firmware: add install target to enable installing test

2014-11-11 Thread Shuah Khan
the common run_tests target, and then removing the target from all the tests by including the common makefile stub that defines it). These are good ideas and I am with on evolving the framework to make it easier to maintain individual tests. Patches are welcome. thanks, -- Shuah -- Shuah

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-11-19 Thread Shuah Khan
On 11/11/2014 01:27 PM, Shuah Khan wrote: Add a new make target to install to install kernel selftests. This new target will build and install selftests. kselftest target now depends on kselftest_install and runs the generated kselftest script to reduce duplicate work and for common look

Re: [PATCH v2 07/19] selftests/firmware: add install target to enable installing test

2014-11-19 Thread Shuah Khan
On 11/11/2014 06:06 PM, Shuah Khan wrote: On 11/11/2014 02:29 PM, Kees Cook wrote: Hi, Sorry, I still really don't like this approach. While it is all in one place (thank you for that), I think it isn't a form that is very workable for the people maintaining the self tests. How about

Re: [PATCH] kselftest: Move the docs to the Documentation dir

2014-11-20 Thread Shuah Khan
-by: shua...@osg.samsung.com thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2] selftest: size: Add size test for Linux kernel

2014-11-20 Thread Shuah Khan
/selftests/size/Makefile create mode 100644 tools/testing/selftests/size/get_size.c Tim, The test looks good, but you are missing .gitignore file. Please add a .gitignore for the binary that gets generated to avoid git status including the binary it in its output. thanks, -- Shuah -- Shuah Khan

Re: [PATCH v3] selftest: size: Add size test for Linux kernel

2014-11-25 Thread Shuah Khan
get runtime size # size = ); + print_num(used); + print( K\n); Please see above. You can get rid of print( K\n); at the end. Sorry for not giving this feedback earlier. The not so clear reporting aspect stood out for me after running the test. thanks, -- Shuah -- Shuah Khan Sr. Linux

Re: [PATCH v2 03/19] selftests: add install target to enable installing selftests

2014-12-01 Thread Shuah Khan
On 11/26/2014 10:45 PM, Masami Hiramatsu wrote: (2014/11/12 5:27), Shuah Khan wrote: Add a new make target to enable installing selftests. This new target will call install targets for the tests that are specified in INSTALL_TARGETS. During install, a script is generated to run tests

Re: [PATCH v2 11/19] selftests/memory-hotplug: add install target to enable installing test

2014-12-01 Thread Shuah Khan
On 11/26/2014 10:49 PM, Masami Hiramatsu wrote: (2014/11/12 5:27), Shuah Khan wrote: Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-12-01 Thread Shuah Khan
On 11/26/2014 10:32 PM, Masami Hiramatsu wrote: (2014/11/12 5:27), Shuah Khan wrote: Add a new make target to install to install kernel selftests. This new target will build and install selftests. kselftest target now depends on kselftest_install and runs the generated kselftest script

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-12-01 Thread Shuah Khan
On 12/01/2014 08:47 AM, Michal Marek wrote: On 2014-11-11 21:27, Shuah Khan wrote: Add a new make target to install to install kernel selftests. This new target will build and install selftests. kselftest target now depends on kselftest_install and runs the generated kselftest script

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-12-01 Thread Shuah Khan
except for the uapi include, I think it's better to delete it completely. The include path logic should ensure we pick the other one up. Good point, somehow managed to miss this. Michael, Are you planning to send v2 to address the comments? -- Shuah -- Shuah Khan Sr. Linux Kernel Developer

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-12-01 Thread Shuah Khan
On 10/23/2014 07:52 AM, Shuah Khan wrote: On 10/23/2014 07:06 AM, Christopher Covington wrote: Hi Michael, On 10/23/2014 01:07 AM, Michael Ellerman wrote: Don't prevent the test building on non-x86. Just try and build it and let the chips fall where they may. As a user of kcmp via CRIU

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-12-01 Thread Shuah Khan
the cracks? It still applies on rc6. Should I resend? cheers Signed-off-by: Michael Ellerman m...@ellerman.id.au I am expecting a patch v2 for the series based on the comments on the series. Please see my responses to the individual patch threads. thanks, -- Shuah -- Shuah Khan Sr

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-12-03 Thread Shuah Khan
On 12/03/2014 05:09 AM, Michal Marek wrote: On 2014-12-01 17:39, Shuah Khan wrote: On 12/01/2014 08:47 AM, Michal Marek wrote: On 2014-11-11 21:27, Shuah Khan wrote: diff --git a/Makefile b/Makefile index 05d67af..ccbd2e1 100644 --- a/Makefile +++ b/Makefile @@ -1071,12 +1071,26

Re: [PATCH v6] selftest: size: Add size test for Linux kernel

2014-12-03 Thread Shuah Khan
-- Shuah Khan Sr. Linux Kernel Developer Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[GIT PULL] kselftest-3.19-rc1

2014-12-09 Thread Shuah Khan
: Don't include kernel headers selftests/kcmp: Always try to build the test Shuah Khan (7): selftests/net: move test out of Makefile into a shell script selftests/user: move test out of Makefile into a shell script selftests: add kselftest framework for uniform test reporting

Re: selftests: question about git repos containing selftest.

2014-12-09 Thread Shuah Khan
On Tue, Dec 9, 2014 at 12:46 PM, Greg KH gre...@linuxfoundation.org wrote: On Tue, Dec 09, 2014 at 02:22:42PM -0500, Young, David wrote: Greetings, I'm trying out the new kernel selftests and was looking for the bleeding edge repository to clone. According to the wiki

Re: selftests: question about git repos containing selftest.

2014-12-09 Thread Shuah Khan
On Tue, Dec 9, 2014 at 1:25 PM, Young, David dayo...@akamai.com wrote: Thanks, I was definitely looking at the master branch of linux-kselftest. There are still more changes in linux-next repo, should those be considered as in progress? Patches in linux-kselftest fixes branch are the ones I

Re: selftests: question about git repos containing selftest.

2014-12-09 Thread Shuah Khan
On Tue, Dec 9, 2014 at 2:08 PM, Young, David dayo...@akamai.com wrote: Do you have specific patches in linux-next that you have questions about? Mostly I am interested in executing kselftests via something like autotest or Hudson/jenkins as a quick smoketest. I understand it's still very

[GIT PULL RESEND] kselftest-3.19-rc1

2014-12-15 Thread Shuah Khan
the test Shuah Khan (7): selftests/net: move test out of Makefile into a shell script selftests/user: move test out of Makefile into a shell script selftests: add kselftest framework for uniform test reporting selftests/breakpoints: change test to use ksft framework

Re: [PATCH] selftests/exec: Use %zu to format size_t

2014-12-22 Thread Shuah Khan
thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shua...@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord...@vger.kernel.org

[PATCH v3 10/20] selftests/mount: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 14/20] selftests/size: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 07/20] selftests/kcmp: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 18/20] selftests/vm: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 16/20] selftests/timers: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 17/20] selftests/user: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 20/20] kbuild: add a new kselftest_install make target to install selftests

2014-12-24 Thread Shuah Khan
: -- exports kselftest INSTALL_KSFT_PATH default $(INSTALL_MOD_PATH)/lib/kselftest/$(KERNELRELEASE) -- exports INSTALL_KSFT_PATH -- runs selftests make install target: Signed-off-by: Shuah Khan shua...@osg.samsung.com --- Makefile | 14 +- 1 file changed, 13 insertions(+), 1

[PATCH v3 19/20] selftests: add install target to enable test install

2014-12-24 Thread Shuah Khan
run_tests in tools/testing/selftests/net Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing/selftests/Makefile | 54 +++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile

[PATCH v3 15/20] selftests/sysctl: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 12/20] selftests/net: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 05/20] selftests/ftrace: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 08/20] selftests/memfd: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 09/20] selftests/memory-hotplug: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 11/20] selftests/mqueue: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 00/20] kselftest install target feature

2014-12-24 Thread Shuah Khan
make kselftest is invoked. v2 series: addressed the duplicate code in install and run_tests targets in individual test Makefiles. Reference: https://lkml.org/lkml/2014/11/4/707 Shuah Khan (20): selftests/breakpoints: add install target to enable test install selftests/cpu-hotplug: add install

[PATCH v3 01/20] selftests/breakpoints: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 04/20] selftests/firmware: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 03/20] selftests/efivarfs: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

[PATCH v3 02/20] selftests/cpu-hotplug: add install target to enable test install

2014-12-24 Thread Shuah Khan
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Install target can be run only from top level kernel source directory. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- tools/testing

  1   2   3   >