perf tools: Speed up build-tests by reducing the number of builds tested
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 Jan 2016 17:49:31 +0000 (14:49 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 Jan 2016 19:57:38 +0000 (16:57 -0300)
commita639a623904cc526cebd7679debf86e5c8e5590b
treee29be4c03bb7a177fb80528569f07ac1b30fa18a
parent79191c89a049a9c525ce22a7d1e5674699c58818
perf tools: Speed up build-tests by reducing the number of builds tested

The 'tools/perf/test/make' makefile has in its default, 'all' target
builds that will pollute the source code directory, i.e. that will not
use O= variable.

The 'build-test' should be run as often as possible, preferrably after
each non strictly non-code commit, so speed it up by selecting just
the O= targets.

Furthermore it tests both the Makefile.perf file, that is normally
driven by the main Makefile, and the Makefile, reduce the time in half
by having just MK=Makefile, the most usual, tested by 'build-test'.

Please run:

  make -C tools/perf -f tests/make

from time to time for testing also the in-place build tests.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-jrt9utscsiqkmjy3ccufostd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile