re PR ada/30560 (gnatchop behaves differently dependend on argv[0] -- make check-ada fails)

2007-01-23  Richard Guenther  <rguenther@suse.de>

	PR testsuite/30560
	* ada/acats/run_acats: Do not call gnatmake or gnatchop
	with full path.

From-SVN: r121083
This commit is contained in:
Richard Guenther 2007-01-23 17:27:22 +00:00 committed by Richard Biener
parent 5305be7e84
commit 6acae78f80
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-01-23 Richard Guenther <rguenther@suse.de>
PR testsuite/30560
* ada/acats/run_acats: Do not call gnatmake or gnatchop
with full path.
2007-01-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/30038

View File

@ -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