All of lore.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org>
To: linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH] tools: Add a selftests_run target
Date: Thu, 28 Jan 2016 09:20:15 +0100	[thread overview]
Message-ID: <1453969215-26532-1-git-send-email-bp@alien8.de> (raw)

From: Borislav Petkov <bp-l3A5Bk7waGM@public.gmane.org>

With it, you can do

$ make tools/selftests_run

from the toplevel kernel repo and it'll run all selftests. Don't forget
the -j.

Signed-off-by: Borislav Petkov <bp-l3A5Bk7waGM@public.gmane.org>
---
 tools/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/Makefile b/tools/Makefile
index 6339f6ac3ccb..1e64385ff97a 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -73,6 +73,9 @@ perf: FORCE
 selftests: FORCE
 	$(call descend,testing/$@)
 
+selftests_run:
+	$(call descend,testing/selftests run_tests)
+
 turbostat x86_energy_perf_policy: FORCE
 	$(call descend,power/x86/$@)
 
-- 
2.3.5

WARNING: multiple messages have this Message-ID (diff)
From: Borislav Petkov <bp@alien8.de>
To: linux-api@vger.kernel.org
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] tools: Add a selftests_run target
Date: Thu, 28 Jan 2016 09:20:15 +0100	[thread overview]
Message-ID: <1453969215-26532-1-git-send-email-bp@alien8.de> (raw)

From: Borislav Petkov <bp@suse.de>

With it, you can do

$ make tools/selftests_run

from the toplevel kernel repo and it'll run all selftests. Don't forget
the -j.

Signed-off-by: Borislav Petkov <bp@suse.de>
---
 tools/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/Makefile b/tools/Makefile
index 6339f6ac3ccb..1e64385ff97a 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -73,6 +73,9 @@ perf: FORCE
 selftests: FORCE
 	$(call descend,testing/$@)
 
+selftests_run:
+	$(call descend,testing/selftests run_tests)
+
 turbostat x86_energy_perf_policy: FORCE
 	$(call descend,power/x86/$@)
 
-- 
2.3.5

             reply	other threads:[~2016-01-28  8:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28  8:20 Borislav Petkov [this message]
2016-01-28  8:20 ` [PATCH] tools: Add a selftests_run target Borislav Petkov
     [not found] ` <1453969215-26532-1-git-send-email-bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org>
2016-01-28 21:22   ` Michael Ellerman
2016-01-28 21:22     ` Michael Ellerman
     [not found]     ` <1454016130.25145.1.camel-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2016-01-28 21:30       ` Borislav Petkov
2016-01-28 21:30         ` Borislav Petkov

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=1453969215-26532-1-git-send-email-bp@alien8.de \
    --to=bp-gina5biwoiwzqb+pc5nmwq@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.