From patchwork Wed Feb 4 09:52:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neelesh Gupta X-Patchwork-Id: 436211 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3FAA5140190 for ; Wed, 4 Feb 2015 20:54:18 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 2CB141A09F9 for ; Wed, 4 Feb 2015 20:54:18 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from e28smtp09.in.ibm.com (e28smtp09.in.ibm.com [122.248.162.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id CCB391A09D7 for ; Wed, 4 Feb 2015 20:54:14 +1100 (AEDT) Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Feb 2015 15:24:10 +0530 Received: from d28dlp01.in.ibm.com (9.184.220.126) by e28smtp09.in.ibm.com (192.168.1.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 4 Feb 2015 15:24:07 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 4DF66E0054 for ; Wed, 4 Feb 2015 15:25:34 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay02.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t149s5Ad63832166 for ; Wed, 4 Feb 2015 15:24:05 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t149s5WP006154 for ; Wed, 4 Feb 2015 15:24:05 +0530 Received: from localhost.localdomain ([9.124.35.239]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t149s5IQ006148 for ; Wed, 4 Feb 2015 15:24:05 +0530 To: skiboot@lists.ozlabs.org From: Neelesh Gupta Date: Wed, 04 Feb 2015 15:22:00 +0530 Message-ID: <20150204095135.27285.71713.stgit@localhost.localdomain> User-Agent: StGit/0.16 MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15020409-0033-0000-0000-000004318A4D Subject: [Skiboot] [PATCH 1/2] Makefile: clean the gcov files created during coverage X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Fix the Makefile to clean up the coverage data files generated through gcov. Signed-off-by: Neelesh Gupta --- ccan/Makefile.check | 4 ++-- libc/test/Makefile.check | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ccan/Makefile.check b/ccan/Makefile.check index 767b338..2bc1f1d 100644 --- a/ccan/Makefile.check +++ b/ccan/Makefile.check @@ -39,5 +39,5 @@ ccan-test-clean: $(CCAN_TEST:%=%-gcov) \ $(CCAN_TEST:%=%.d) \ $(CCAN_TEST:%=%.o) \ - $(CCAN_TEST:%=%-gcov.gcda) \ - $(CCAN_TEST:%=%-gcov.gcno) \ No newline at end of file + $(CCAN_TEST:%=%.gcda) \ + $(CCAN_TEST:%=%.gcno) diff --git a/libc/test/Makefile.check b/libc/test/Makefile.check index f37fe93..eb6fac8 100644 --- a/libc/test/Makefile.check +++ b/libc/test/Makefile.check @@ -57,6 +57,15 @@ $(LIBC_DUALLIB_TEST:%=%-gcov-test.o): %-gcov-test.o : %-test.c % clean: libc-test-clean libc-test-clean: - $(RM) -f libc/test/*.[od] $(LIBC_TEST) $(LIBC_TEST:%=%-gcov) - $(RM) -f $(LIBC_DUALLIB_TEST) $(LIBC_DUALLIB_TEST:%=%-gcov) \ + $(RM) -f libc/test/*.[od] + $(RM) -f $(LIBC_TEST) \ + $(LIBC_TEST:%=%-gcov) \ + $(LIBC_TEST:%=%.gcda) \ + $(LIBC_TEST:%=%.gcno) + $(RM) -f $(LIBC_DUALLIB_TEST) \ + $(LIBC_DUALLIB_TEST:%=%-gcov) \ + $(LIBC_DUALLIB_TEST:%=%-gcov.gcda) \ + $(LIBC_DUALLIB_TEST:%=%-gcov.gcno) \ + $(LIBC_DUALLIB_TEST:%=%-gcov-test.gcda) \ + $(LIBC_DUALLIB_TEST:%=%-gcov-test.gcno) \ $(LIBC_DUALLIB_TEST:%=%-test.o)