diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-07-22 08:43:34 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-07-22 15:54:56 -0400 |
commit | dbad41893c7941f3c53805f8206993719f971bfa (patch) | |
tree | 11aa091a7a598d5baa89fe882fe0ceecd5c4cf25 /tools/perf | |
parent | c0ec11088800e1a5efbccc291a42580727798123 (diff) |
perf tests: Add broken install-* tests into tests/make
Adding install-* tests into tests/make. Those tests are
broken, so commenting them out right away.
* Nothing get installed for install-man, install_doc and
install_html targets, they just rebuild the documentation.
* I've got following error for 'install-info':
$ make -f tests/make make_install_info
- make_install_info: cd . && make -f Makefile DESTDIR=/tmp/tmp.Xi4mb9J1a0 install-info
$ tail -f make_install_info
...
PERF_VERSION = 3.11.rc1.g9b3c2d
make[2]: *** No rule to make target `user-manual.xml', needed by `user-manual.texi'. Stop.
make[1]: *** [install-info] Error 2
* I've got following error for 'install-pdf':
$ make -f tests/make make_install_pdf
- make_install_pdf: cd . && make -f Makefile DESTDIR=/tmp/tmp.fXseECBbt1 install-pdf
$ tail -f make_install_pdf
...
PERF_VERSION = 3.11.rc1.g9b3c2d
make[2]: *** No rule to make target `user-manual.xml', needed by `user-manual.pdf'. Stop.
make[1]: *** [install-pdf] Error 2
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-6-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/tests/make | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make index d3819f210876..2ca0abf1b2b6 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make | |||
@@ -29,6 +29,11 @@ make_perf_o := perf.o | |||
29 | make_util_map_o := util/map.o | 29 | make_util_map_o := util/map.o |
30 | make_install := install | 30 | make_install := install |
31 | make_install_bin := install-bin | 31 | make_install_bin := install-bin |
32 | make_install_doc := install-doc | ||
33 | make_install_man := install-man | ||
34 | make_install_html := install-html | ||
35 | make_install_info := install-info | ||
36 | make_install_pdf := install-pdf | ||
32 | 37 | ||
33 | # all the NO_* variable combined | 38 | # all the NO_* variable combined |
34 | make_minimal := NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 | 39 | make_minimal := NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 |
@@ -60,6 +65,12 @@ run += make_perf_o | |||
60 | run += make_util_map_o | 65 | run += make_util_map_o |
61 | run += make_install | 66 | run += make_install |
62 | run += make_install_bin | 67 | run += make_install_bin |
68 | # FIXME 'install-*' commented out till they're fixed | ||
69 | # run += make_install_doc | ||
70 | # run += make_install_man | ||
71 | # run += make_install_html | ||
72 | # run += make_install_info | ||
73 | # run += make_install_pdf | ||
63 | run += make_minimal | 74 | run += make_minimal |
64 | 75 | ||
65 | ifneq ($(call has,ctags),) | 76 | ifneq ($(call has,ctags),) |
@@ -100,6 +111,26 @@ test_make_install_O := $(test_make_install) | |||
100 | test_make_install_bin := $(test_make_install) | 111 | test_make_install_bin := $(test_make_install) |
101 | test_make_install_bin_O := $(test_make_install) | 112 | test_make_install_bin_O := $(test_make_install) |
102 | 113 | ||
114 | # FIXME nothing gets installed | ||
115 | test_make_install_man := test -f $$TMP_DEST/share/man/man1/perf.1 | ||
116 | test_make_install_man_O := $(test_make_install_man) | ||
117 | |||
118 | # FIXME nothing gets installed | ||
119 | test_make_install_doc := $(test_ok) | ||
120 | test_make_install_doc_O := $(test_ok) | ||
121 | |||
122 | # FIXME nothing gets installed | ||
123 | test_make_install_html := $(test_ok) | ||
124 | test_make_install_html_O := $(test_ok) | ||
125 | |||
126 | # FIXME nothing gets installed | ||
127 | test_make_install_info := $(test_ok) | ||
128 | test_make_install_info_O := $(test_ok) | ||
129 | |||
130 | # FIXME nothing gets installed | ||
131 | test_make_install_pdf := $(test_ok) | ||
132 | test_make_install_pdf_O := $(test_ok) | ||
133 | |||
103 | # Kbuild tests only | 134 | # Kbuild tests only |
104 | #test_make_python_perf_so_O := test -f $$TMP/tools/perf/python/perf.so | 135 | #test_make_python_perf_so_O := test -f $$TMP/tools/perf/python/perf.so |
105 | #test_make_perf_o_O := test -f $$TMP/tools/perf/perf.o | 136 | #test_make_perf_o_O := test -f $$TMP/tools/perf/perf.o |