Commit-ID:  207da4739e3e6ced6dbfebed7416b35c0440e591
Gitweb:     http://git.kernel.org/tip/207da4739e3e6ced6dbfebed7416b35c0440e591
Author:     Jiri Olsa <jo...@kernel.org>
AuthorDate: Sun, 4 Dec 2016 21:42:58 +0100
Committer:  Arnaldo Carvalho de Melo <a...@redhat.com>
CommitDate: Mon, 5 Dec 2016 16:18:26 -0300

perf tools: Cleanup build directory before each test

Cleanup the fixdep tool before every test.

Signed-off-by: Jiri Olsa <jo...@kernel.org>
Cc: David Ahern <dsah...@gmail.com>
Cc: Namhyung Kim <namhy...@kernel.org>
Cc: Peter Zijlstra <a.p.zijls...@chello.nl>
Link: http://lkml.kernel.org/r/1480884178-8072-8-git-send-email-jo...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 tools/perf/tests/make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index aa49b66..0784748 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)

Reply via email to