From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15854 invoked by alias); 13 Sep 2007 23:26:51 -0000 Received: (qmail 15846 invoked by uid 22791); 13 Sep 2007 23:26:51 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Sep 2007 23:26:47 +0000 Received: (qmail 5165 invoked from network); 13 Sep 2007 23:26:45 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 13 Sep 2007 23:26:45 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.63) (envelope-from ) id 1IVy56-0005Ju-EF; Thu, 13 Sep 2007 23:26:44 +0000 Date: Fri, 14 Sep 2007 03:51:00 -0000 From: "Joseph S. Myers" To: Ollie Wild cc: Dan Hipschman , gcc-patches@gcc.gnu.org Subject: Re: PATCH: Add format string suggestions to -Wformat warnings In-Reply-To: <65dd6fd50709131620n6644465aheceacf296377be91@mail.gmail.com> Message-ID: References: <20070814235109.GD11055@google.com> <20070821222124.GE11055@google.com> <65dd6fd50709131620n6644465aheceacf296377be91@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-09/txt/msg01227.txt.bz2 On Thu, 13 Sep 2007, Ollie Wild wrote: > For consistency's sake, it might be worth publishing a test guidelines > doc. Or does such a beast already exist? No; sourcebuild.texi is out-of-date on some things such as testing for whether messages are errors, warnings or otherwise. The series of PR 25241 patches fixed various tests matching multiple messages with a single regexp. Eventually we want things fixed so that a single dg-error (etc.) will only ever match a single line of diagnostic output, even if more than one would match the regexp. That way we can readily test for various bugs there have been in the past with duplicate diagnostics, which are a pain to test at present. -- Joseph S. Myers joseph@codesourcery.com