* ada/acats/run_all.sh:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Oct 2003 16:00:20 +0000 (16:00 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Oct 2003 16:00:20 +0000 (16:00 +0000)
Only run [a-z]* directories, to filter out e.g. CVS.
Redirect build output to log file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73010 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/ada/acats/run_all.sh

index 45f341e..f385940 100644 (file)
@@ -3,6 +3,8 @@
        * ada/acats/run_all.sh: Change output to be more compliant with
        dejagnu framework.
        Create acats.sum and acats.log files under testsuite/ada/acats
+       Only run [a-z]* directories, to filter out e.g. CVS.
+       Redirect build output to log file.
 
 2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
 
index b63af81..c4a171a 100755 (executable)
@@ -141,7 +141,7 @@ display ""
 display "      === ACATS tests ==="
 
 if [ $# -eq 0 ]; then
-   chapters=`cd $dir/tests; echo *`
+   chapters=`cd $dir/tests; echo [a-z]*`
 else
    chapters=$*
 fi
@@ -199,7 +199,7 @@ for chapter in $chapters; do
          continue
       fi
 
-      target_gnatmake $extraflags -I$dir/support $main
+      target_gnatmake $extraflags -I$dir/support $main >> $dir/acats.log 2>&1
       if [ $? -ne 0 ]; then
          display "FAIL:        $i"
          failed="${failed}${i} "