* ada/acats/run_all.sh: Strip comments from norun.lst

From-SVN: r155314
This commit is contained in:
Arnaud Charlet 2009-12-17 13:32:05 +00:00 committed by Arnaud Charlet
parent fe6ae2da79
commit 3c35a1a77f
2 changed files with 6 additions and 1 deletions

View 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

View File

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