diff options
author | Jiri Olsa <jolsa@redhat.com> | 2014-02-19 05:21:38 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-02-24 07:29:35 -0500 |
commit | 04b01a1db46cc17f6ab2ac2bada27d8e671710e1 (patch) | |
tree | d5803c1f840e962d9777128c5b12e210599b3d79 /tools/perf/tests/make | |
parent | 7e74efcf76c16f851df5c838c143c4a1865ea9fa (diff) |
perf tests: Fix *.o make tests
Enable and fix *.o object make tests. Following tests are now available:
$ make -f tests/make make_perf_o_O
- make_perf_o_O: cd . && make -f Makefile O=/tmp/tmp.iF5vI5emGy DESTDIR=/tmp/tmp.epDPFVhH0s perf.o
$ make -f tests/make make_util_map_o_O
- make_util_map_o_O: cd . && make -f Makefile O=/tmp/tmp.BWuMf55ygC DESTDIR=/tmp/tmp.QbGBRF95oP util/map.o
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
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/1392805300-14610-1-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/make')
-rw-r--r-- | tools/perf/tests/make | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make index 00544b8b644b..eb3671be129c 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make | |||
@@ -167,13 +167,9 @@ test_make_install_info_O := $(test_ok) | |||
167 | test_make_install_pdf := $(test_ok) | 167 | test_make_install_pdf := $(test_ok) |
168 | test_make_install_pdf_O := $(test_ok) | 168 | test_make_install_pdf_O := $(test_ok) |
169 | 169 | ||
170 | # Kbuild tests only | 170 | test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so |
171 | #test_make_python_perf_so_O := test -f $$TMP/tools/perf/python/perf.so | 171 | test_make_perf_o_O := test -f $$TMP_O/perf.o |
172 | #test_make_perf_o_O := test -f $$TMP/tools/perf/perf.o | 172 | test_make_util_map_o_O := test -f $$TMP_O/util/map.o |
173 | #test_make_util_map_o_O := test -f $$TMP/tools/perf/util/map.o | ||
174 | |||
175 | test_make_perf_o_O := true | ||
176 | test_make_util_map_o_O := true | ||
177 | 173 | ||
178 | test_default = test -x $(PERF)/perf | 174 | test_default = test -x $(PERF)/perf |
179 | test = $(if $(test_$1),$(test_$1),$(test_default)) | 175 | test = $(if $(test_$1),$(test_$1),$(test_default)) |