Skip to contentSkip to conversation

perf tools: Add 'build-test' make target

PATCH New Namhyung Kim 2 participants 2 messages Jan 16, 2014 – Jan 19, 2014 perf events

lore
Share & tools
lore

Namhyung Kim

author maintainer
#0 lore raw

PATCH 1/1 perf tools: Add 'build-test' make target

Currently various build test was done with a Makefile named tests/make so one needs to remember and specify it with -f option on command line. Add the 'build-test' target in the main Makefile as a shortcut.

---
 tools/perf/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)
tools/perf/Makefile +6 -0
index eefb9fb0c02f..cb2e5868c8e8 100644
@@ -75,6 +75,12 @@ clean:
 	$(make)
 
 #
+# The build-test target is not really parallel, don't print the jobs info:
+#
+build-test:
+	@$(MAKE) -f tests/make --no-print-directory
+
+#
 # All other targets get passed through:
 #
 %:
Signature · 1 line
1.7.11.7
#1 lore raw
perf tools: Add 'build-test' make target
Commit-ID:  a7077234d240f16ead29ffeb3cc17ceada50ea5f
Gitweb:     http://git.kernel.org/tip/a7077234d240f16ead29ffeb3cc17ceada50ea5f
Author:     Namhyung Kim <[email protected]>
AuthorDate: Thu, 16 Jan 2014 10:52:53 +0900
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 16 Jan 2014 16:26:26 -0300

perf tools: Add 'build-test' make target

Currently various build test can be performed using a Makefile named tests/make, so one needs to remember and specify it with -f option on command line.

Add the 'build-test' target in the main Makefile as a shortcut.

---
 tools/perf/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)
tools/perf/Makefile +6 -0
index eefb9fb..cb2e586 100644
@@ -75,6 +75,12 @@ clean:
 	$(make)
 
 #
+# The build-test target is not really parallel, don't print the jobs info:
+#
+build-test:
+	@$(MAKE) -f tests/make --no-print-directory
+
+#
 # All other targets get passed through:
 #
 %: