From: Tim Bird <tim.bird@sonymobile.com>
To: Shuah Khan <shuahkh@osg.samsung.com>,
"mmarek@suse.cz" <mmarek@suse.cz>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"rostedt@goodmis.org" <rostedt@goodmis.org>,
"mingo@redhat.com" <mingo@redhat.com>,
"davem@davemloft.net" <davem@davemloft.net>,
"keescook@chromium.org" <keescook@chromium.org>,
"tranmanphong@gmail.com" <tranmanphong@gmail.com>,
"mpe@ellerman.id.au" <mpe@ellerman.id.au>,
"cov@codeaurora.org" <cov@codeaurora.org>,
"dh.herrmann@gmail.com" <dh.herrmann@gmail.com>,
"hughd@google.com" <hughd@google.com>,
"bobby.prani@gmail.com" <bobby.prani@gmail.com>,
"serge.hallyn@ubuntu.com" <serge.hallyn@ubuntu.com>,
"ebiederm@xmission.com" <ebiederm@xmission.com>,
"josh@joshtriplett.org" <josh@joshtriplett.org>,
"koct9i@gmail.com" <koct9i@gmail.com>,
"masami.hiramatsu.pt@hitachi.com" <masami.hiram>
Cc: "linux-kbuild@vger.kernel.org" <linux-kbuild@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-api@vger.kernel.org" <linux-api@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH v4 14/20] selftests/size: add install target to enable test install
Date: Wed, 7 Jan 2015 15:05:44 -0800 [thread overview]
Message-ID: <54ADBBC8.30802@sonymobile.com> (raw)
In-Reply-To: <5861e16e1b533cae37471a8cf18597d3e9e6b6f6.1420571615.git.shuahkh@osg.samsung.com>
On 01/06/2015 11:43 AM, 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 kernel source directory.
>
> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
> ---
> tools/testing/selftests/size/Makefile | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/size/Makefile b/tools/testing/selftests/size/Makefile
> index 04dc25e..a1478fa 100644
> --- a/tools/testing/selftests/size/Makefile
> +++ b/tools/testing/selftests/size/Makefile
> @@ -1,12 +1,22 @@
> CC = $(CROSS_COMPILE)gcc
>
> +TEST_STR = ./get_size || echo 'get_size selftests: [FAIL]'
> +
> all: get_size
>
> get_size: get_size.c
> $(CC) -static -ffreestanding -nostartfiles -s $< -o $@
>
> +install:
> +ifdef INSTALL_KSFT_PATH
> + install ./get_size $(INSTALL_KSFT_PATH)
> + @echo "$(TEST_STR)" >> $(KSELFTEST)
> +else
> + @echo "Run make kselftest_install in top level source directory"
> +endif
> +
> run_tests: all
> - ./get_size
> + @$(TEST_STR)
>
> clean:
> $(RM) get_size
>
Acked-by: Tim Bird <tim.bird@sonymobile.com>
next prev parent reply other threads:[~2015-01-07 23:05 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-06 19:43 [PATCH v4 00/20] kselftest install target feature Shuah Khan
2015-01-06 19:43 ` [PATCH v4 01/20] selftests/breakpoints: add install target to enable test install Shuah Khan
2015-01-06 19:43 ` [PATCH v4 02/20] selftests/cpu-hotplug: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 03/20] selftests/efivarfs: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 04/20] selftests/firmware: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 05/20] selftests/ftrace: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 06/20] selftests/ipc: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 07/20] selftests/kcmp: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 08/20] selftests/memfd: " Shuah Khan
[not found] ` <cover.1420571615.git.shuahkh-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-01-06 19:43 ` [PATCH v4 09/20] selftests/memory-hotplug: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 10/20] selftests/mount: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 13/20] selftests/ptrace: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 15/20] selftests/sysctl: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 11/20] selftests/mqueue: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 12/20] selftests/net: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 14/20] selftests/size: " Shuah Khan
2015-01-07 23:05 ` Tim Bird [this message]
2015-01-06 19:43 ` [PATCH v4 16/20] selftests/timers: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 17/20] selftests/user: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 18/20] selftests/vm: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 19/20] selftests: " Shuah Khan
2015-01-06 19:43 ` [PATCH v4 20/20] kbuild: add a new kselftest_install make target to install selftests Shuah Khan
2015-01-14 16:32 ` Shuah Khan
[not found] ` <54B69A1B.80006-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-01-15 11:39 ` Michal Marek
2015-01-15 22:58 ` Michael Ellerman
[not found] ` <1421362698.23332.6.camel-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2015-01-15 23:41 ` Shuah Khan
2015-01-16 2:59 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54ADBBC8.30802@sonymobile.com \
--to=tim.bird@sonymobile.com \
--cc=akpm@linux-foundation.org \
--cc=bobby.prani@gmail.com \
--cc=cov@codeaurora.org \
--cc=davem@davemloft.net \
--cc=dh.herrmann@gmail.com \
--cc=ebiederm@xmission.com \
--cc=gregkh@linuxfoundation.org \
--cc=hughd@google.com \
--cc=josh@joshtriplett.org \
--cc=keescook@chromium.org \
--cc=koct9i@gmail.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=mmarek@suse.cz \
--cc=mpe@ellerman.id.au \
--cc=netdev@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=serge.hallyn@ubuntu.com \
--cc=shuahkh@osg.samsung.com \
--cc=tranmanphong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).