From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15337 invoked by alias); 22 Jun 2006 19:35:12 -0000 Received: (qmail 15326 invoked by uid 22791); 22 Jun 2006 19:35:11 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 22 Jun 2006 19:35:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FtUxH-00059j-EC for gdb-patches@sourceware.org; Thu, 22 Jun 2006 15:35:07 -0400 Date: Thu, 22 Jun 2006 19:35:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: [ob] Remove a dejagnu ERROR from auxv.exp Message-ID: <20060622193507.GA19794@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00331.txt.bz2 If your target does not support gcore at all, then it will currently generate an ERROR running auxv.exp. This turns it into an UNSUPPORTED, as was probably intended. We have some nightly build machinery here at CodeSourcery which can automatically run DejaGNU testsuites. It normally shows us nice pleasant deltas between runs, but it's set to always include ERRORs, since they're supposed to indicate a problem in the testsuite rather than in the tool being tested. Tested on x86_64-pc-linux-gnu and committed. -- Daniel Jacobowitz CodeSourcery 2006-06-22 Daniel Jacobowitz * auxv.exp: Intercept undefined command messages before gdb_test_multiple does. Index: gdb-20060226/gdb/testsuite/gdb.base/auxv.exp =================================================================== --- gdb-20060226.orig/gdb/testsuite/gdb.base/auxv.exp 2006-06-13 21:06:57.000000000 -0700 +++ gdb-20060226/gdb/testsuite/gdb.base/auxv.exp 2006-06-13 21:07:09.000000000 -0700 @@ -139,6 +139,9 @@ gdb_test_multiple "gcore $gcorefile" "gc -re "Can't create a corefile\[\r\n\]+$gdb_prompt $" { unsupported "gcore" } + -re "Undefined command: .*\[\r\n\]+$gdb_prompt $" { + unsupported "gcore" + } } # Let the program continue and die.