From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29022 invoked by alias); 29 Jul 2004 23:15:57 -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 29014 invoked from network); 29 Jul 2004 23:15:57 -0000 Received: from unknown (HELO blount.mail.mindspring.net) (207.69.200.226) by sourceware.org with SMTP; 29 Jul 2004 23:15:57 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by blount.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BqK7q-0004G5-00; Thu, 29 Jul 2004 19:15:50 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 65F7A4B102; Thu, 29 Jul 2004 19:16:00 -0400 (EDT) Date: Thu, 29 Jul 2004 23:15:00 -0000 From: Michael Chastain To: manjo@austin.ibm.com, gdb-patches@sources.redhat.com Subject: Re: [RFC] gdb/testsuite/gdb.exp not taking environment variable. Message-ID: <4109852E.nailAM721SQNX@mindspring.com> References: In-Reply-To: User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00471.txt.bz2 Hi Manoj, TOOL_EXECUTABLE is not an environment variable. It's a TCL variable which is initalized by runtest.exp in dejagnu, set by the "--tool_exec" flag. So the test-runner would say: runtest --tool_exec /path/path/my_gdb ... And not: "export TOOL_EXECUTABLE=/path/path/my_gdb ; make check". You can do this at the 'make check' level with: make check RUNTESTFLAGS="--tool_exec /path/path/my_gdb" Or: export RUNTESTFLAGS="--tool_exec /path/path/my_gdb" make -e check I don't want gdb/lib.exp to change the interface of an existing variable name which is imported from runtest.exp. Michael C