This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/30560] gnatchop behaves differently dependend on argv[0] -- make check-ada fails
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2007 17:09:34 -0000
- Subject: [Bug ada/30560] gnatchop behaves differently dependend on argv[0] -- make check-ada fails
- References: <bug-30560-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2007-01-23 17:09 -------
The testsuite is fixed by the following which should be safe because we're
adding the path of $host_gnat* to PATH first.
Index: run_acats
===================================================================
--- run_acats (revision 121081)
+++ run_acats (working copy)
@@ -40,7 +40,7 @@ echo '#!/bin/sh' > host_gnatchop
echo PATH=`dirname $host_gnatchop`:'$PATH' >> host_gnatchop
echo unset ADA_INCLUDE_PATH ADA_OBJECTS_PATH GCC_EXEC_PREFIX >> host_gnatchop
echo export PATH >> host_gnatchop
-echo exec $host_gnatchop '"$@"' >> host_gnatchop
+echo exec gnatchop '"$@"' >> host_gnatchop
chmod +x host_gnatchop
@@ -48,7 +48,7 @@ echo '#!/bin/sh' > host_gnatmake
echo PATH=`dirname $host_gnatmake`:'$PATH' >> host_gnatmake
echo unset ADA_INCLUDE_PATH ADA_OBJECTS_PATH GCC_EXEC_PREFIX >> host_gnatmake
echo export PATH >> host_gnatmake
-echo exec $host_gnatmake '"$@"' >> host_gnatmake
+echo exec gnatmake '"$@"' >> host_gnatmake
chmod +x host_gnatmake
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30560