]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
run_all.sh: Only run [a-z]* directories, to filter out e.g.
authorArnaud Charlet <charlet@act-europe.fr>
Tue, 28 Oct 2003 16:00:20 +0000 (17:00 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 28 Oct 2003 16:00:20 +0000 (17:00 +0100)
* ada/acats/run_all.sh:
Only run [a-z]* directories, to filter out e.g. CVS.
Redirect build output to log file.

From-SVN: r73010

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

index 45f341e375669244e956fc10f20348eb13a101fb..f385940a37d994f177f3ea976e24e80c216641fb 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 b63af81e1e30006a296df38261547dce21aeaa7b..c4a171a793a8fb5de4849938d9913f3be1dc69b7 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} "