[PATCH 7/7] perf tools: Cleanup build directory before each test
From: Jiri Olsa
Date: Sun Dec 04 2016 - 15:44:35 EST
Cleanup the fixdep tool before every test.
Link: http://lkml.kernel.org/n/tip-1al4akj7r8pl1pidxgnzzlzs@xxxxxxxxxxxxxx
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
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 08ed7f12cc37..ac6f3ecd4e72 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -278,7 +278,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)
--
2.7.4