summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-12-04 23:42:58 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-12-05 22:18:26 +0300
commit207da4739e3e6ced6dbfebed7416b35c0440e591 (patch)
tree150e4390b5bc69d4282b48582b4839c44502318d /tools/perf
parent0b4d4b076251542dc81d128f481c3d3b5fc24863 (diff)
downloadlinux-207da4739e3e6ced6dbfebed7416b35c0440e591.tar.xz
perf tools: Cleanup build directory before each test
Cleanup the fixdep tool before every test. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1480884178-8072-8-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/tests/make2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index aa49b6600d1f..0784748f1670 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -280,7 +280,7 @@ endif
MAKEFLAGS := --no-print-directory
-clean := @(cd $(PERF); $(MAKE_F) -s $(O_OPT) clean >/dev/null)
+clean := @(cd $(PERF); $(MAKE_F) -s $(O_OPT) clean >/dev/null && $(MAKE) -s $(O_OPT) -C ../build clean >/dev/null)
$(run):
$(call clean)