perf tools: Cleanup build directory before each test
authorJiri Olsa <jolsa@kernel.org>
Sun, 4 Dec 2016 20:42:58 +0000 (21:42 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Dec 2016 19:18:26 +0000 (16:18 -0300)
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>
tools/perf/tests/make

index aa49b6600d1f8aabee6c2eca21d7c39cd0f19472..0784748f1670904240508879d6a1363f858e99ef 100644 (file)
@@ -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)