aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2016-12-04 21:42:58 +0100
committerArnaldo Carvalho de Melo <[email protected]>2016-12-05 16:18:26 -0300
commit207da4739e3e6ced6dbfebed7416b35c0440e591 (patch)
tree150e4390b5bc69d4282b48582b4839c44502318d
parent0b4d4b076251542dc81d128f481c3d3b5fc24863 (diff)
perf tools: Cleanup build directory before each test
Cleanup the fixdep tool before every test. Signed-off-by: Jiri Olsa <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-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)