Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231281
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Wang Long <long.wanglong@huawei.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] kselftest: add cleankselftest rule |
| Date | Wed, 23 Sep 2015 11:40:01 +0200 |
| Message-ID | <qbOGR-bd-5@gated-at.bofh.it> (permalink) |
| X-Original-To | <shuahkh@osg.samsung.com>, <mmarek@suse.com> |
| X-Mailer | git-send-email 1.8.3.4 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Originating-IP | [10.107.193.248] |
| X-Cfilter-Loop | Reflected |
| X-Mirapoint-Virus-Rapid-Raw | score=unknown(0), refid=str=0001.0A020202.5602720A.00EA,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 |
| X-Mirapoint-Loop-ID | 9a29155bc6873b6b9d50b854b8a082b9 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 48 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <long.wanglong@huawei.com>, <linux-kbuild@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <wanglong@laoqinren.net>, <peifeiyue@huawei.com> |
| X-Original-Date | Wed, 23 Sep 2015 09:33:38 +0000 |
| X-Original-Message-ID | <1443000818-118964-1-git-send-email-long.wanglong@huawei.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1231281 |
Show key headers only | View raw
We use
$make TARGETS="size timers" kselftest
to build and run selftests. but there is no rule
for us to clean the kselftest generated files.
This patch add the rules, for example:
$ make TARGETS="size timers" cleankselftest
can clean all kselftst generated files.
Signed-off-by: Wang Long <long.wanglong@huawei.com>
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 84f4b31..c25d139 100644
--- a/Makefile
+++ b/Makefile
@@ -1075,6 +1075,9 @@ PHONY += kselftest
kselftest:
$(Q)$(MAKE) -C tools/testing/selftests run_tests
+cleankselftest:
+ $(Q)$(MAKE) -C tools/testing/selftests clean
+
# ---------------------------------------------------------------------------
# Modules
@@ -1282,6 +1285,7 @@ help:
@echo ' kselftest - Build and run kernel selftest (run as root)'
@echo ' Build, install, and boot kernel before'
@echo ' running kselftest on it'
+ @echo ' cleankselftest - Remove all generated kselftest files'
@echo ''
@echo 'Kernel packaging:'
@$(MAKE) $(build)=$(package-dir) help
--
1.8.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] kselftest: add cleankselftest rule Wang Long <long.wanglong@huawei.com> - 2015-09-23 11:40 +0200
Re: [PATCH] kselftest: add cleankselftest rule Shuah Khan <shuahkh@osg.samsung.com> - 2015-09-30 15:40 +0200
Re: [PATCH] kselftest: add cleankselftest rule Michael Ellerman <mpe@ellerman.id.au> - 2015-10-01 03:20 +0200
Re: [PATCH] kselftest: add cleankselftest rule Shuah Khan <shuahkh@osg.samsung.com> - 2015-10-02 16:20 +0200
csiph-web