aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-07-22 08:43:33 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-07-22 15:54:06 -0400
commitc0ec11088800e1a5efbccc291a42580727798123 (patch)
treeef3f7ded37f5906fa25476a262ece0beda79ccda /tools
parentc9311674e73345d4d02595c80d43f4bcf9ff3a3f (diff)
perf tests: Add 'make install/install-bin' tests into tests/make
Adding 'make install' and 'make install-bin' tests into tests/make. It's run as part of the suite, but could be run separately like: $ make -f tests/make make_install - make_install: cd . && make -f Makefile DESTDIR=/tmp/tmp.LpkYbk5pfs install test: test -x /tmp/tmp.LpkYbk5pfs/bin/perf $ make -f tests/make make_install_bin - make_install_bin: cd . && make -f Makefile DESTDIR=/tmp/tmp.dMxePBMcFT install-bin test: test -x /tmp/tmp.dMxePBMcFT/bin/perf Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1374497014-2817-5-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/tests/make9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index 7646a0076356..d3819f210876 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -27,6 +27,8 @@ make_help := help
27make_doc := doc 27make_doc := doc
28make_perf_o := perf.o 28make_perf_o := perf.o
29make_util_map_o := util/map.o 29make_util_map_o := util/map.o
30make_install := install
31make_install_bin := install-bin
30 32
31# all the NO_* variable combined 33# all the NO_* variable combined
32make_minimal := NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 34make_minimal := NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1
@@ -56,6 +58,8 @@ run += make_help
56run += make_doc 58run += make_doc
57run += make_perf_o 59run += make_perf_o
58run += make_util_map_o 60run += make_util_map_o
61run += make_install
62run += make_install_bin
59run += make_minimal 63run += make_minimal
60 64
61ifneq ($(call has,ctags),) 65ifneq ($(call has,ctags),)
@@ -91,6 +95,11 @@ test_make_python_perf_so := test -f $(PERF)/python/perf.so
91test_make_perf_o := test -f $(PERF)/perf.o 95test_make_perf_o := test -f $(PERF)/perf.o
92test_make_util_map_o := test -f $(PERF)/util/map.o 96test_make_util_map_o := test -f $(PERF)/util/map.o
93 97
98test_make_install := test -x $$TMP_DEST/bin/perf
99test_make_install_O := $(test_make_install)
100test_make_install_bin := $(test_make_install)
101test_make_install_bin_O := $(test_make_install)
102
94# Kbuild tests only 103# Kbuild tests only
95#test_make_python_perf_so_O := test -f $$TMP/tools/perf/python/perf.so 104#test_make_python_perf_so_O := test -f $$TMP/tools/perf/python/perf.so
96#test_make_perf_o_O := test -f $$TMP/tools/perf/perf.o 105#test_make_perf_o_O := test -f $$TMP/tools/perf/perf.o