Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1604338 > unrolled thread
| Started by | Fathi Boudra <fathi.boudra@linaro.org> |
|---|---|
| First post | 2017-03-20 11:30 +0100 |
| Last post | 2017-03-20 13:30 +0100 |
| Articles | 5 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/3] selftests: config fragments update Fathi Boudra <fathi.boudra@linaro.org> - 2017-03-20 11:30 +0100
[PATCH 1/3] selftests: lib: add config fragment for bitmap, printf and prime numbers tests Fathi Boudra <fathi.boudra@linaro.org> - 2017-03-20 11:30 +0100
[PATCH 3/3] selftests: vm: add CONFIG_SYSVIPC=y to the config fragment Fathi Boudra <fathi.boudra@linaro.org> - 2017-03-20 11:30 +0100
[PATCH 2/3] selftests: ftrace: add CONFIG_KPROBES=y to the config fragment Fathi Boudra <fathi.boudra@linaro.org> - 2017-03-20 11:40 +0100
Re: [PATCH 0/3] selftests: config fragments update Naresh Kamboju <naresh.kamboju@linaro.org> - 2017-03-20 13:30 +0100
| From | Fathi Boudra <fathi.boudra@linaro.org> |
|---|---|
| Date | 2017-03-20 11:30 +0100 |
| Subject | [PATCH 0/3] selftests: config fragments update |
| Message-ID | <tn2JA-3lh-15@gated-at.bofh.it> |
kselftest-merge target allows to enable the dependencies of kernel config
for kselftest testcases. Add config dependencies to run ftrace, lib and vm
tests.
Fathi Boudra (3):
selftests: lib: add config fragment for bitmap, printf and prime
numbers tests
selftests: ftrace: add CONFIG_KPROBES=y to the config fragment
selftests: vm: add CONFIG_SYSVIPC=y to the config fragment
tools/testing/selftests/ftrace/config | 1 +
tools/testing/selftests/lib/config | 3 +++
tools/testing/selftests/vm/config | 1 +
3 files changed, 5 insertions(+)
create mode 100644 tools/testing/selftests/lib/config
--
2.11.0
[toc] | [next] | [standalone]
| From | Fathi Boudra <fathi.boudra@linaro.org> |
|---|---|
| Date | 2017-03-20 11:30 +0100 |
| Subject | [PATCH 1/3] selftests: lib: add config fragment for bitmap, printf and prime numbers tests |
| Message-ID | <tn2JB-3lh-23@gated-at.bofh.it> |
| In reply to | #1604338 |
test_bitmap, test_printf and prime_numbers are expected to be built as modules. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> --- tools/testing/selftests/lib/config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/lib/config diff --git a/tools/testing/selftests/lib/config b/tools/testing/selftests/lib/config new file mode 100644 index 000000000000..126933bcc950 --- /dev/null +++ b/tools/testing/selftests/lib/config @@ -0,0 +1,3 @@ +CONFIG_TEST_PRINTF=m +CONFIG_TEST_BITMAP=m +CONFIG_PRIME_NUMBERS=m -- 2.11.0
[toc] | [prev] | [next] | [standalone]
| From | Fathi Boudra <fathi.boudra@linaro.org> |
|---|---|
| Date | 2017-03-20 11:30 +0100 |
| Subject | [PATCH 3/3] selftests: vm: add CONFIG_SYSVIPC=y to the config fragment |
| Message-ID | <tn2JB-3lh-33@gated-at.bofh.it> |
| In reply to | #1604338 |
vm tests rely on shared memory settings. Enable system V IPC to run these tests. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> --- tools/testing/selftests/vm/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vm/config b/tools/testing/selftests/vm/config index 698c7ed28a26..1c0d76cb5adf 100644 --- a/tools/testing/selftests/vm/config +++ b/tools/testing/selftests/vm/config @@ -1 +1,2 @@ +CONFIG_SYSVIPC=y CONFIG_USERFAULTFD=y -- 2.11.0
[toc] | [prev] | [next] | [standalone]
| From | Fathi Boudra <fathi.boudra@linaro.org> |
|---|---|
| Date | 2017-03-20 11:40 +0100 |
| Subject | [PATCH 2/3] selftests: ftrace: add CONFIG_KPROBES=y to the config fragment |
| Message-ID | <tn2Tg-3oS-15@gated-at.bofh.it> |
| In reply to | #1604338 |
ftrace/kprobe tests require kprobes events. Enable kprobes to run these tests. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> --- tools/testing/selftests/ftrace/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config index ef8214661612..8a1c9f949fe0 100644 --- a/tools/testing/selftests/ftrace/config +++ b/tools/testing/selftests/ftrace/config @@ -1 +1,2 @@ +CONFIG_KPROBES=y CONFIG_FTRACE=y -- 2.11.0
[toc] | [prev] | [next] | [standalone]
| From | Naresh Kamboju <naresh.kamboju@linaro.org> |
|---|---|
| Date | 2017-03-20 13:30 +0100 |
| Message-ID | <tn4BI-4CH-13@gated-at.bofh.it> |
| In reply to | #1604338 |
Hi Fathi, On 20 March 2017 at 15:48, Fathi Boudra <fathi.boudra@linaro.org> wrote: > kselftest-merge target allows to enable the dependencies of kernel config > for kselftest testcases. Add config dependencies to run ftrace, lib and vm > tests. > > Fathi Boudra (3): > selftests: lib: add config fragment for bitmap, printf and prime > numbers tests > selftests: ftrace: add CONFIG_KPROBES=y to the config fragment > selftests: vm: add CONFIG_SYSVIPC=y to the config fragment After enabling these configs more test cases passed. Please refer patebin for more information. http://pastebin.com/bPzdqxed Tested on Hikey development board running 4.9.12 kernel. Linux hikey 4.9.12-gcb3d81d #1 SMP PREEMPT Fri Mar 17 14:44:10 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org> > > tools/testing/selftests/ftrace/config | 1 + > tools/testing/selftests/lib/config | 3 +++ > tools/testing/selftests/vm/config | 1 + > 3 files changed, 5 insertions(+) > create mode 100644 tools/testing/selftests/lib/config > > -- > 2.11.0 >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web