From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27088 invoked by alias); 20 Dec 2002 18:56:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27079 invoked from network); 20 Dec 2002 18:56:30 -0000 Received: from unknown (HELO zenia.red-bean.com) (66.244.67.22) by sources.redhat.com with SMTP; 20 Dec 2002 18:56:30 -0000 Received: from zenia.red-bean.com (localhost.localdomain [127.0.0.1]) by zenia.red-bean.com (8.12.5/8.12.5) with ESMTP id gBKIbn5h026341; Fri, 20 Dec 2002 13:37:49 -0500 Received: (from jimb@localhost) by zenia.red-bean.com (8.12.5/8.12.5/Submit) id gBKIbnMR026337; Fri, 20 Dec 2002 13:37:49 -0500 To: Fernando Nasser CC: gdb-patches@sources.redhat.com Subject: [Jim Blandy ] RFA: testsuite: pass optimization flag in the proper way From: Jim Blandy Date: Fri, 20 Dec 2002 11:00:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-SW-Source: 2002-12/txt/msg00592.txt.bz2 --=-=-= Content-length: 33 Ping on this test suite patch. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Content-length: 3541 X-From-Line: imap Tue Nov 19 04:57:44 2002 Return-Path: X-Sieve: cmu-sieve 2.0 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAJ3tSq12551 for ; Mon, 18 Nov 2002 22:55:28 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gAJ3tSD30365 for ; Mon, 18 Nov 2002 22:55:28 -0500 Received: from sources.redhat.com (sources.redhat.com [209.249.29.67]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gAJ3Vkw29711 for ; Mon, 18 Nov 2002 22:31:46 -0500 Received: (qmail 15987 invoked by alias); 19 Nov 2002 03:55:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Delivered-To: mailing list gdb-patches@sources.redhat.com Received: (qmail 15902 invoked from network); 19 Nov 2002 03:55:22 -0000 Received: from unknown (HELO zenia.red-bean.com) (66.244.67.22) by sources.redhat.com with SMTP; 19 Nov 2002 03:55:22 -0000 Received: (from jimb@localhost) by zenia.red-bean.com (8.11.6/8.11.6) id gAJ3cuf31477; Mon, 18 Nov 2002 22:38:56 -0500 To: gdb-patches@sources.redhat.com Subject: RFA: testsuite: pass optimization flag in the proper way From: Jim Blandy Date: 18 Nov 2002 22:38:55 -0500 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 Lines: 38 Xref: zenia.red-bean.com mail.gdb.patches:20732 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-length: 1483 2002-11-18 Jim Blandy * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option, rather than as part of the output file name. Index: gdb/testsuite/gdb.trace/tfind.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.trace/tfind.exp,v retrieving revision 1.2 diff -c -r1.2 tfind.exp *** gdb/testsuite/gdb.trace/tfind.exp 6 Mar 2001 08:22:00 -0000 1.2 --- gdb/testsuite/gdb.trace/tfind.exp 19 Nov 2002 02:48:02 -0000 *************** *** 53,60 **** set testfile "actions" set srcfile ${testfile}.c set binfile $objdir/$subdir/$testfile ! if { [gdb_compile "$srcdir/$subdir/$srcfile" "$binfile -O1" \ ! executable {debug additional_flags=-w}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } gdb_load $binfile --- 53,64 ---- set testfile "actions" set srcfile ${testfile}.c set binfile $objdir/$subdir/$testfile ! ! # Why do we need to specify '-O1' here? Shouldn't that sort of ! # compilation parameter be under the control of the test framework ! # (the target_list and so on)? ! if { [gdb_compile "$srcdir/$subdir/$srcfile" "$binfile" \ ! executable {debug additional_flags=-w optimize=-O1}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } gdb_load $binfile --=-=-=--