From patchwork Wed Feb 23 10:56:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 84125 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 33E4CB7155 for ; Wed, 23 Feb 2011 21:56:31 +1100 (EST) Received: (qmail 30043 invoked by alias); 23 Feb 2011 10:56:28 -0000 Received: (qmail 30032 invoked by uid 22791); 23 Feb 2011 10:56:27 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pz0-f47.google.com (HELO mail-pz0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Feb 2011 10:56:23 +0000 Received: by pzk12 with SMTP id 12so619113pzk.20 for ; Wed, 23 Feb 2011 02:56:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.115.12 with SMTP id n12mr3082558wfc.404.1298458582075; Wed, 23 Feb 2011 02:56:22 -0800 (PST) Received: by 10.142.54.6 with HTTP; Wed, 23 Feb 2011 02:56:22 -0800 (PST) Date: Wed, 23 Feb 2011 11:56:22 +0100 Message-ID: Subject: [PATCH, testsuite]: Cleanup saved temps in g++.dg/other/pr47218.C 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! This change is not enough to clean saved temps of additional sources due to the way "additional_sources" global variable is handled through the dejagnu exp files. 2011-02-23 Uros Bizjak * g++.dg/other/pr47218.C: Fix dg-options. Cleanup saved temps. Tested on x86_64-pc-linux-gnu, committed to mainline SVN. Uros. Index: g++.dg/other/pr47218.C =================================================================== --- g++.dg/other/pr47218.C (revision 170435) +++ g++.dg/other/pr47218.C (working copy) @@ -1,5 +1,5 @@ /* { dg-do link } */ -/* { dg-options "--save-temps" } */ +/* { dg-options "-save-temps" } */ /* { dg-additional-sources "pr47218-1.C" } */ #include "pr47218.h" @@ -17,3 +17,5 @@ { return 0; } + +// { dg-final cleanup-saved-temps }