]> gcc.gnu.org Git - gcc.git/commitdiff
* ada/acats/run_all.sh: Strip comments from norun.lst
authorArnaud Charlet <charlet@adacore.com>
Thu, 17 Dec 2009 13:32:05 +0000 (13:32 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 17 Dec 2009 13:32:05 +0000 (14:32 +0100)
From-SVN: r155314

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

index 5de2902a9c42b8df06b78f2e26cc09c4df523256..f6ee73516deba57bb2ec6b750760637d8338ff10 100644 (file)
@@ -1,3 +1,7 @@
+2009-12-17  Arnaud Charlet  <charlet@adacore.com>
+
+       * ada/acats/run_all.sh: Strip comments from norun.lst
+
 2009-12-17  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/32280
index e28ec7a838a553afebe07ec757cb4150154bab19..92446fa875ac61b9913f451c2e15ee50b9eb5659 100755 (executable)
@@ -129,6 +129,7 @@ sed -e "s,ACATS4GNATDIR,$dir,g" \
 
 cp $testdir/tests/cd/*.c $dir/support
 cp $testdir/tests/cxb/*.c $dir/support
+grep -v '^#' $testdir/norun.lst > $dir/support/norun.lst
 
 rm -rf $dir/run
 mv $dir/tests $dir/tests.$$ 2> /dev/null
@@ -206,7 +207,7 @@ for chapter in $chapters; do
 
    cd $dir/tests/$chapter
    ls *.a *.ada *.adt *.am *.dep 2> /dev/null | sed -e 's/\(.*\)\..*/\1/g' | \
-   cut -c1-7 | sort | uniq | comm -23 - $testdir/norun.lst \
+   cut -c1-7 | sort | uniq | comm -23 - $dir/support/norun.lst \
      > $dir/tests/$chapter/${chapter}.lst 
    countn=`wc -l < $dir/tests/$chapter/${chapter}.lst`
    glob_countn=`expr $glob_countn + $countn`
This page took 0.073261 seconds and 5 git commands to generate.