diff options
author | Jiri Olsa <jolsa@redhat.com> | 2014-02-19 05:21:39 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-02-24 07:29:35 -0500 |
commit | 2a94f6c455b38c0411d92b0df794bb8137bf1957 (patch) | |
tree | 605adcd88aecc2eed540af253675ec408967cfa1 /tools/perf/tests | |
parent | 04b01a1db46cc17f6ab2ac2bada27d8e671710e1 (diff) |
perf tests: Add pmu-bison.o make test
Adding pmu-bison.o make test:
$ make -f tests/make make_util_pmu_bison_o
- make_util_pmu_bison_o: cd . && make -f Makefile DESTDIR=/tmp/tmp.0u99hQn8Ga util/pmu-bison.o
$ make -f tests/make make_util_pmu_bison_o_O
- make_util_pmu_bison_o_O: cd . && make -f Makefile O=/tmp/tmp.sWKDLGS71O DESTDIR=/tmp/tmp.htQNJAfJ0d util/pmu-bison.o
make: *** [make_util_pmu_bison_o_O] Error 1
The 'O=' version of the test is failing at the moment, due to the OUTPUT
directory issue fixed in next patch.
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-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
-rw-r--r-- | tools/perf/tests/make | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make index eb3671be129c..2d2495423be5 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make | |||
@@ -35,8 +35,9 @@ make_tags := tags | |||
35 | make_cscope := cscope | 35 | make_cscope := cscope |
36 | make_help := help | 36 | make_help := help |
37 | make_doc := doc | 37 | make_doc := doc |
38 | make_perf_o := perf.o | 38 | make_perf_o := perf.o |
39 | make_util_map_o := util/map.o | 39 | make_util_map_o := util/map.o |
40 | make_util_pmu_bison_o := util/pmu-bison.o | ||
40 | make_install := install | 41 | make_install := install |
41 | make_install_bin := install-bin | 42 | make_install_bin := install-bin |
42 | make_install_doc := install-doc | 43 | make_install_doc := install-doc |
@@ -73,6 +74,7 @@ run += make_help | |||
73 | run += make_doc | 74 | run += make_doc |
74 | run += make_perf_o | 75 | run += make_perf_o |
75 | run += make_util_map_o | 76 | run += make_util_map_o |
77 | run += make_util_pmu_bison_o | ||
76 | run += make_install | 78 | run += make_install |
77 | run += make_install_bin | 79 | run += make_install_bin |
78 | # FIXME 'install-*' commented out till they're fixed | 80 | # FIXME 'install-*' commented out till they're fixed |
@@ -113,8 +115,9 @@ test_make_doc_O := $(test_ok) | |||
113 | 115 | ||
114 | test_make_python_perf_so := test -f $(PERF)/python/perf.so | 116 | test_make_python_perf_so := test -f $(PERF)/python/perf.so |
115 | 117 | ||
116 | test_make_perf_o := test -f $(PERF)/perf.o | 118 | test_make_perf_o := test -f $(PERF)/perf.o |
117 | test_make_util_map_o := test -f $(PERF)/util/map.o | 119 | test_make_util_map_o := test -f $(PERF)/util/map.o |
120 | test_make_util_pmu_bison_o := test -f $(PERF)/util/pmu-bison.o | ||
118 | 121 | ||
119 | define test_dest_files | 122 | define test_dest_files |
120 | for file in $(1); do \ | 123 | for file in $(1); do \ |
@@ -170,6 +173,7 @@ test_make_install_pdf_O := $(test_ok) | |||
170 | test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so | 173 | test_make_python_perf_so_O := test -f $$TMP_O/python/perf.so |
171 | test_make_perf_o_O := test -f $$TMP_O/perf.o | 174 | test_make_perf_o_O := test -f $$TMP_O/perf.o |
172 | test_make_util_map_o_O := test -f $$TMP_O/util/map.o | 175 | test_make_util_map_o_O := test -f $$TMP_O/util/map.o |
176 | test_make_util_pmu_bison_o_O := test -f $$TMP_O/util/pmu-bison.o | ||
173 | 177 | ||
174 | test_default = test -x $(PERF)/perf | 178 | test_default = test -x $(PERF)/perf |
175 | test = $(if $(test_$1),$(test_$1),$(test_default)) | 179 | test = $(if $(test_$1),$(test_$1),$(test_default)) |