From patchwork Sun Aug 8 21:48:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 61236 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id C3361B6EF7 for ; Mon, 9 Aug 2010 07:48:34 +1000 (EST) Received: (qmail 24562 invoked by alias); 8 Aug 2010 21:48:32 -0000 Received: (qmail 24551 invoked by uid 22791); 8 Aug 2010 21:48:31 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qy0-f175.google.com (HELO mail-qy0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 08 Aug 2010 21:48:24 +0000 Received: by qyk11 with SMTP id 11so1742863qyk.20 for ; Sun, 08 Aug 2010 14:48:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.68.13 with SMTP id t13mr3888429qci.101.1281304102342; Sun, 08 Aug 2010 14:48:22 -0700 (PDT) Received: by 10.229.182.18 with HTTP; Sun, 8 Aug 2010 14:48:22 -0700 (PDT) Date: Sun, 8 Aug 2010 23:48:22 +0200 Message-ID: Subject: [PATCH, testsuite]: Do not call cleanup-coverage-files for compile tests without -ftest-coverage From: Uros Bizjak To: gcc-patches@gcc.gnu.org Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! 2010-08-08 Uros Bizjak * gcc.dg/20030107-1.c: Do not call cleanup-coverage-files. * gcc.dg/20030702-1.c: Ditto. * gcc.dg/20050309-1.c: Ditto. * gcc.dg/20050325-1.c: Ditto. * gcc.dg/20050330-2.c: Ditto. * gcc.dg/20051201-1.c: Ditto. * gcc.dg/gomp/pr27573.c: Ditto. * gcc.dg/gomp/pr34610.c: Ditto. * gcc.dg/pr24225.c: Ditto. * gcc.dg/pr26570.c: Ditto. * gcc.dg/pr32773.c: Ditto. * g++.dg/gcov/gcov-6.C: Ditto. * g++.dg/gomp/pr34608.C: Ditto. * gfortran.dg/gomp/pr27573.f90: Ditto. * gcc.dg/profile-dir-1.c: Do not call cleanup-coverage-files. Remove dg-require-host-local dg directive. * gcc.dg/profile-dir-2.c: Ditto. * gcc.dg/profile-dir-3.c: Ditto. Tested on x86_64-pc-linux-gnu, committed to 4.5 branch and mainline SVN. Uros. Index: gcc.dg/20050330-2.c =================================================================== --- gcc.dg/20050330-2.c (revision 162994) +++ gcc.dg/20050330-2.c (working copy) @@ -19,5 +19,3 @@ foo (struct S *x, int y) x->b[y] = x->b[y + 1]; x->b[x->a] = (void *) 0; } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/gomp/pr34610.c =================================================================== --- gcc.dg/gomp/pr34610.c (revision 162994) +++ gcc.dg/gomp/pr34610.c (working copy) @@ -26,5 +26,3 @@ foo (int k) for (i = 0; i < 10; ++i) bar (i); } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/gomp/pr27573.c =================================================================== --- gcc.dg/gomp/pr27573.c (revision 162994) +++ gcc.dg/gomp/pr27573.c (working copy) @@ -16,5 +16,3 @@ main (void) } return 0; } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/pr32773.c =================================================================== --- gcc.dg/pr32773.c (revision 162994) +++ gcc.dg/pr32773.c (working copy) @@ -7,5 +7,3 @@ void foo (int *p) if (p) *p = 0; } /* { dg-message "note: \[^\n\]*execution counts estimated" } */ - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/20030107-1.c =================================================================== --- gcc.dg/20030107-1.c (revision 162994) +++ gcc.dg/20030107-1.c (working copy) @@ -3,5 +3,3 @@ extern void bar(void) __attribute__((noreturn)); int foo (void) { bar(); } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/20051201-1.c =================================================================== --- gcc.dg/20051201-1.c (revision 162994) +++ gcc.dg/20051201-1.c (working copy) @@ -24,5 +24,3 @@ foo () res = bar (); } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/20030702-1.c =================================================================== --- gcc.dg/20030702-1.c (revision 162994) +++ gcc.dg/20030702-1.c (working copy) @@ -8,5 +8,3 @@ void test (void) { fork (); } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/profile-dir-1.c =================================================================== --- gcc.dg/profile-dir-1.c (revision 162994) +++ gcc.dg/profile-dir-1.c (working copy) @@ -1,6 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-O -fprofile-generate=. -fdump-tree-tree_profile" } */ -/* { dg-require-host-local "" } */ /* { dg-final { scan-tree-dump " ./profile-dir-1.gcda" "tree_profile" } } */ int @@ -9,5 +8,4 @@ main(void) return 0; } -/* { dg-final { cleanup-coverage-files } } */ /* { dg-final { cleanup-tree-dump "tree_profile" } } */ Index: gcc.dg/pr24225.c =================================================================== --- gcc.dg/pr24225.c (revision 162994) +++ gcc.dg/pr24225.c (working copy) @@ -13,5 +13,3 @@ foo (int a, int b) return 0; } } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/pr26570.c =================================================================== --- gcc.dg/pr26570.c (revision 162994) +++ gcc.dg/pr26570.c (working copy) @@ -5,5 +5,3 @@ unsigned test (unsigned a, unsigned b) { return a / b; } /* { dg-message "note: \[^\n\]*execution counts estimated" } */ - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/profile-dir-2.c =================================================================== --- gcc.dg/profile-dir-2.c (revision 162994) +++ gcc.dg/profile-dir-2.c (working copy) @@ -1,6 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-O -fprofile-generate -fdump-tree-tree_profile" } */ -/* { dg-require-host-local "" } */ /* { dg-final { scan-tree-dump "/profile-dir-2.gcda" "tree_profile" } } */ int @@ -9,5 +8,4 @@ main(void) return 0; } -/* { dg-final { cleanup-coverage-files } } */ /* { dg-final { cleanup-tree-dump "tree_profile" } } */ Index: gcc.dg/20050325-1.c =================================================================== --- gcc.dg/20050325-1.c (revision 162994) +++ gcc.dg/20050325-1.c (working copy) @@ -17,5 +17,3 @@ f () { g (42, ff); } - -/* { dg-final { cleanup-coverage-files } } */ Index: gcc.dg/profile-dir-3.c =================================================================== --- gcc.dg/profile-dir-3.c (revision 162994) +++ gcc.dg/profile-dir-3.c (working copy) @@ -1,6 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-O -fprofile-generate -fprofile-dir=. -fdump-tree-tree_profile" } */ -/* { dg-require-host-local "" } */ /* { dg-final { scan-tree-dump " ./profile-dir-3.gcda" "tree_profile" } } */ int @@ -9,5 +8,4 @@ main(void) return 0; } -/* { dg-final { cleanup-coverage-files } } */ /* { dg-final { cleanup-tree-dump "tree_profile" } } */ Index: gcc.dg/20050309-1.c =================================================================== --- gcc.dg/20050309-1.c (revision 162994) +++ gcc.dg/20050309-1.c (working copy) @@ -34,5 +34,3 @@ test(char *ret, int *counter, void *schema, error (1, 0, 0, node, "%s", name); return 0; } - -/* { dg-final { cleanup-coverage-files } } */ Index: gfortran.dg/gomp/pr27573.f90 =================================================================== --- gfortran.dg/gomp/pr27573.f90 (revision 162994) +++ gfortran.dg/gomp/pr27573.f90 (working copy) @@ -11,5 +11,3 @@ program pr27573 end do !$omp end parallel end - -! { dg-final { cleanup-coverage-files } }