From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9368 invoked by alias); 27 Nov 2006 22:12:47 -0000 Received: (qmail 8823 invoked by uid 48); 27 Nov 2006 22:12:34 -0000 Date: Mon, 27 Nov 2006 22:12:00 -0000 Message-ID: <20061127221234.8822.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janis at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg02375.txt.bz2 ------- Comment #2 from janis at gcc dot gnu dot org 2006-11-27 22:12 ------- The functionality to support dg-error and dg-warning is in proc dg-test in file dg.exp from the DejaGnu project. It treats these two directives the same except for the failure message. The GCC testsuite infrastructure overrides some small DejaGnu procs to get them to do what we want, but dg-test is very large. Eventually we should work with the DejaGnu developers to get changes we need into that product, including the ability to provide callbacks for project-specific support for things like checking error and warning messages. In the meantime we're stuck with including "error" or "warning" in the regular expression being checked. -- janis at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janis at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241