summaryrefslogtreecommitdiff
path: root/gcc/testsuite/ada
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-17 13:32:05 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-17 13:32:05 +0000
commit97b75cb14e6b67ea6872fddf08abcfbb129d5e2d (patch)
tree07b27e52b132c499780a9f5c6726b3a24f5e3208 /gcc/testsuite/ada
parentc98fd3f6865822715a1e149692a6ab69dc91bf84 (diff)
downloadgcc-97b75cb14e6b67ea6872fddf08abcfbb129d5e2d.tar.gz
* ada/acats/run_all.sh: Strip comments from norun.lst
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/ada')
-rwxr-xr-xgcc/testsuite/ada/acats/run_all.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/ada/acats/run_all.sh b/gcc/testsuite/ada/acats/run_all.sh
index e28ec7a838a..92446fa875a 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`