Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1340703 > unrolled thread
| Started by | Shuah Khan <shuahkh@osg.samsung.com> |
|---|---|
| First post | 2016-02-23 15:40 +0100 |
| Last post | 2016-02-23 19:40 +0100 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v4 2/2] Makefile: add kselftest-merge Shuah Khan <shuahkh@osg.samsung.com> - 2016-02-23 15:40 +0100
Re: [PATCH v4 2/2] Makefile: add kselftest-merge Shuah Khan <shuahkh@osg.samsung.com> - 2016-02-23 19:40 +0100
| From | Shuah Khan <shuahkh@osg.samsung.com> |
|---|---|
| Date | 2016-02-23 15:40 +0100 |
| Subject | Re: [PATCH v4 2/2] Makefile: add kselftest-merge |
| Message-ID | <r5mi7-6Kg-31@gated-at.bofh.it> |
On 01/08/2016 12:27 AM, Bamvor Jian Zhang wrote: > Add kselftest-merge to enable the dependencies of kernel config > for all the kselftest testcases. User should call it after create > the kernel configuration(.config), eg: > > $ make kselftest-merge > > Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Could you please ACK this patch if you are okay with the changes? I will take this through ksleftest tree. thanks, -- Shuah > --- > Makefile | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Makefile b/Makefile > index cd40956..bfb9faa 100644 > --- a/Makefile > +++ b/Makefile > @@ -1104,6 +1104,14 @@ kselftest: > kselftest-clean: > $(Q)$(MAKE) -C tools/testing/selftests clean > > +PHONY += kselftest-merge > +kselftest-merge: > + $(if $(wildcard $(objtree)/.config),, $(error No .config exists, config your kernel first!)) > + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh \ > + -m $(objtree)/.config \ > + $(srctree)/tools/testing/selftests/*/config > + +$(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig > + > # --------------------------------------------------------------------------- > # Modules > > @@ -1312,6 +1320,8 @@ help: > @echo ' Build, install, and boot kernel before' > @echo ' running kselftest on it' > @echo ' kselftest-clean - Remove all generated kselftest files' > + @echo ' kselftest-merge - Merge all the config dependencies of kselftest to existed' > + @echo ' .config.' > @echo '' > @echo 'Kernel packaging:' > @$(MAKE) $(build)=$(package-dir) help > -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978
[toc] | [next] | [standalone]
| From | Shuah Khan <shuahkh@osg.samsung.com> |
|---|---|
| Date | 2016-02-23 19:40 +0100 |
| Message-ID | <r5q2m-P6-25@gated-at.bofh.it> |
| In reply to | #1340703 |
On 02/23/2016 07:34 AM, Shuah Khan wrote: > On 01/08/2016 12:27 AM, Bamvor Jian Zhang wrote: >> Add kselftest-merge to enable the dependencies of kernel config >> for all the kselftest testcases. User should call it after create >> the kernel configuration(.config), eg: >> >> $ make kselftest-merge >> >> Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> > > Could you please ACK this patch if you are okay > with the changes? I will take this through ksleftest > tree. > > thanks, > -- Shuah Applied this patch to linux-kselftest next with [PATCH v4 1/2] selftests: create test-specific kconfig fragments to get some testing in for now. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web