public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28  8:20 Borislav Petkov [this message]
2016-01-28 21:22 ` [PATCH] tools: Add a selftests_run target Michael Ellerman
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@alien8.de \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox