Make-lang.in (check-gnat): Run run_acats with $(SHELL).
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Thu, 9 Feb 2006 17:29:28 +0000 (17:29 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 9 Feb 2006 17:29:28 +0000 (17:29 +0000)
ada:
* Make-lang.in (check-gnat): Run run_acats with $(SHELL).

testsuite:
* ada/acats/run_acats: Use portable variant of "$@".

From-SVN: r110807

gcc/ada/ChangeLog
gcc/ada/Make-lang.in
gcc/testsuite/ChangeLog
gcc/testsuite/ada/acats/run_acats

index 1b7d603..642917e 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Make-lang.in (check-gnat): Run run_acats with $(SHELL).
+
 2006-02-06  Roger Sayle  <roger@eyesopen.com>
 
        * decl.c (gnat_substitute_in_type): Don't handle CHAR_TYPE.
index c6e4ad5..4d2dd85 100644 (file)
@@ -1,6 +1,6 @@
 # Top level -*- makefile -*- fragment for GNU Ada (GNAT).
 #   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-#   2003, 2004, 2005 Free Software Foundation, Inc.
+#   2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -822,7 +822,7 @@ ACATSDIR = $(TESTSUITEDIR)/ada/acats
 check-gnat:
        test -d $(ACATSDIR) || mkdir -p $(ACATSDIR)
        testdir=`cd ${srcdir}/${ACATSDIR}; ${PWD_COMMAND}`; \
-       export testdir; cd $(ACATSDIR); $${testdir}/run_acats $(CHAPTERS)
+       export testdir; cd $(ACATSDIR); $(SHELL) $${testdir}/run_acats $(CHAPTERS)
 
 .PHONY: check-gnat
 
index 9ba4259..8be7f5d 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * ada/acats/run_acats: Use portable variant of "$@".
+
 2006-02-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        * g++.old-deja/g++.benjamin/15351-2.C: Likewise.
index f2b7872..b3b74cc 100755 (executable)
@@ -52,4 +52,4 @@ echo exec $host_gnatmake '"$@"' >> host_gnatmake
 
 chmod +x host_gnatmake
 
-exec $testdir/run_all.sh "$@"
+exec $testdir/run_all.sh ${1+"$@"}