aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2009-12-17 13:32:05 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2009-12-17 14:32:05 +0100
commit3c35a1a77f619060f8d71e85ec2470c5b47099d0 (patch)
tree07b27e52b132c499780a9f5c6726b3a24f5e3208 /gcc
parentfe6ae2da798820b1657c5478b34e0c15438a7845 (diff)
downloadgcc-3c35a1a77f619060f8d71e85ec2470c5b47099d0.zip
gcc-3c35a1a77f619060f8d71e85ec2470c5b47099d0.tar.gz
gcc-3c35a1a77f619060f8d71e85ec2470c5b47099d0.tar.bz2
* ada/acats/run_all.sh: Strip comments from norun.lst
From-SVN: r155314
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rwxr-xr-xgcc/testsuite/ada/acats/run_all.sh3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5de2902..f6ee735 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/ada/acats/run_all.sh b/gcc/testsuite/ada/acats/run_all.sh
index e28ec7a..92446fa 100755
--- a/gcc/testsuite/ada/acats/run_all.sh
+++ b/gcc/testsuite/ada/acats/run_all.sh
@@ -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`