From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11470 invoked by alias); 4 Feb 2004 23:03:45 -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 11454 invoked from network); 4 Feb 2004 23:03:44 -0000 Received: from unknown (HELO smtp6.mindspring.com) (207.69.200.110) by sources.redhat.com with SMTP; 4 Feb 2004 23:03:44 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by smtp6.mindspring.com with esmtp (Exim 3.33 #1) id 1AoW3U-0002fo-00; Wed, 04 Feb 2004 18:03:36 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 6FEEC4B364; Wed, 4 Feb 2004 18:03:42 -0500 (EST) To: cagney@gnu.org, mec.gnu@mindspring.com Subject: Re: Problems with dejagnu and c++ tests... Cc: brobecker@gnat.com, gdb-patches@sources.redhat.com Message-Id: <20040204230342.6FEEC4B364@berman.michael-chastain.com> Date: Wed, 04 Feb 2004 23:03:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-02/txt/msg00086.txt.bz2 > Which would mean that a GCC code-gen bug in malloc, or printf would > block all ability to run the testsuite :-( Ah, I see. So don't use printf ... use write(2). There are 310 *.exp files in the test suite. 84 of them use get_compiler_info. 47 of them actually use one of the tests: test_compiler_info gcc_compiled, hp_aCC_compiler, hp_cc_compiler signed_keyword_not_used (Hmmm, I feel an obvious change coming to 37 files). 84 out of 310 is not even close to "all". If I did the compiler checks up front instead of inside get_compiler_info, then the compiler checks would have to do something nice if gdb_compile failed, such as leave compiler_info set to "no-compiler" for the language that failed. Michael C