From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12800 invoked by alias); 15 Jun 2013 10:54:46 -0000 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 Received: (qmail 12780 invoked by uid 48); 15 Jun 2013 10:54:41 -0000 From: "ExtraLeveLInSoftware at ntlworld dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/57606] Failure in testing stage 3 of gcc-4.7.2 Date: Sat, 15 Jun 2013 10:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ExtraLeveLInSoftware at ntlworld dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00783.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57606 --- Comment #1 from Ellis N. Thomas --- On further consideration of the Bug 57606 reported for host_gnatmake and host_gnatchop produced in run_acats, the entire approach seems flawed. It uses dirname to extract the directory name from the full name obtained from "type -p" to prefix a directory name to PATH for each of host_gnatmake and host_gnatchop. Since the details obtained for gnatmake (and gnatchop) are already what the shell would use, there seems little point in forcing this directory name to the head of PATH, or even to use the easier approach of simply executing the full name just returned by "type -p". Of course, gnatmake will lead to calls of other tools, which might be influenced by the adapted PATH, but if control is needed over which version(s) are called then greater care needs to be taken anyway. Ellis N. Thomas