Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jiri Olsa and committed by
Arnaldo Carvalho de Melo
dbad4189 c0ec1108

+31
+31
tools/perf/tests/make
··· 29 29 make_util_map_o := util/map.o 30 30 make_install := install 31 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 38 # all the NO_* variable combined 34 39 make_minimal := NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 ··· 65 60 run += make_util_map_o 66 61 run += make_install 67 62 run += make_install_bin 63 + # FIXME 'install-*' commented out till they're fixed 64 + # run += make_install_doc 65 + # run += make_install_man 66 + # run += make_install_html 67 + # run += make_install_info 68 + # run += make_install_pdf 68 69 run += make_minimal 69 70 70 71 ifneq ($(call has,ctags),) ··· 110 99 test_make_install_O := $(test_make_install) 111 100 test_make_install_bin := $(test_make_install) 112 101 test_make_install_bin_O := $(test_make_install) 102 + 103 + # FIXME nothing gets installed 104 + test_make_install_man := test -f $$TMP_DEST/share/man/man1/perf.1 105 + test_make_install_man_O := $(test_make_install_man) 106 + 107 + # FIXME nothing gets installed 108 + test_make_install_doc := $(test_ok) 109 + test_make_install_doc_O := $(test_ok) 110 + 111 + # FIXME nothing gets installed 112 + test_make_install_html := $(test_ok) 113 + test_make_install_html_O := $(test_ok) 114 + 115 + # FIXME nothing gets installed 116 + test_make_install_info := $(test_ok) 117 + test_make_install_info_O := $(test_ok) 118 + 119 + # FIXME nothing gets installed 120 + test_make_install_pdf := $(test_ok) 121 + test_make_install_pdf_O := $(test_ok) 113 122 114 123 # Kbuild tests only 115 124 #test_make_python_perf_so_O := test -f $$TMP/tools/perf/python/perf.so