perf test: Remove tarpkg at end of test
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 14 Dec 2015 04:18:04 +0000 (22:18 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Dec 2015 15:17:58 +0000 (12:17 -0300)
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/5e7e97a23e3ce11b59d1009b39ebb6d2813a0560.1449965119.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/make

index 8ea3dffc5065fbc532ebfe5a170d64f33f18ed3d..c1fbb8e884c0fcf2bcc84beec0bc13bd8c76ed34 100644 (file)
@@ -259,7 +259,8 @@ $(run_O):
 tarpkg:
        @cmd="$(PERF)/tests/perf-targz-src-pkg $(PERF)"; \
        echo "- $@: $$cmd" && echo $$cmd > $@ && \
-       ( eval $$cmd ) >> $@ 2>&1
+       ( eval $$cmd ) >> $@ 2>&1 && \
+       rm -f $@
 
 make_kernelsrc:
        @echo "- make -C <kernelsrc> tools/perf"